(question) Raid5 + Encryption -- which is first?

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Thu Sep 8 20:15:42 UTC 2011


On Thu, Sep 08, 2011 at 01:00:10PM -0700, William Park wrote:
> If I want to encrypt a whole filesystem which is Raid5, do I make Raid5 first and then mount it as "encrypted" partition?  (my guess is yes).

I would certainly put the raid layer at the bottom.  Otherwise you
certainly have no way to resize it later.  And you would be running one
encryption session per disk, which seems silly.

> But, that begs question.  What if I add a device to Raid5?  Will it be transparent to encryption layer, or will it screw it up?

Well the block device would change size, but whether the encryption
system supports resizing is another issue.

Filesystems in general have that problem.  That's why we ahve filesystem
resize tools.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list