Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
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

share|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) – RobotHumans Nov 30 '10 at 7:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .