Can I have multiple partitions using Software RAID 5 on an Ubuntu Server?

For example, say using a 4 drive RAID 5 setup, I want one massive partition for storage and a second smaller but encrypted partition. I also need this to be able expandable (I believe you can do that with grow but not sure if multiple partitions effects this).

Is this all available with LVM?

link|improve this question

75% accept rate
feedback

1 Answer

up vote 2 down vote accepted

Yes, all of this is possible with LVM...some of it without. mdadm can create the raid virtualdisk. the virtualdisk can house any partition type (lvm). the lvm virtualdisk can house any partition type (luks). the automagic mounting may prove more difficult, but it's doable

link|improve this answer
aking1012, any chance you'd be willing to walk me through the simplest logical layout of different drive layers. I'm thinking its raw HDDs, LVM, mdadm virtual disks, partitions? Did I add an extra layer I don't need? – wag2639 Nov 30 '10 at 5:05
I thought we did that already? raw HDDs => mdadm(the raid manager) => lvm(there's a couple parts here) => partitions(really just format creating them is done with lvm) – aking1012 Nov 30 '10 at 7:08
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.