Ubuntu – Software RAID 5 with Multiple Partitions (one encrypted partition)

raidraid-5software-raidUbuntu

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?

Best Answer

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

Related Question