Re: Multiple RAID or encrypted partitions
On Sat, 2006-09-09 at 00:32 +1000, Paul Dwerryhouse wrote:
> On Wed, Sep 06, 2006 at 05:43:36PM -0500, Owen Heisler wrote:
> > I am wondering if there is any reason why the Debian installer doesn't
> > allow multiple partitions in a RAID5 array
>
> Create a raid 5 array of the whole disk set and then put LVM across it. You
> can then create logical volumes within the LVM volume group, and these
> are the equivalent of partitions.
>
> Remember to have a non raid 5 partition for /boot (eg, either RAID1 or
> just a plain disk partition (ugh)), because IIRC, neither grub nor lilo
> can cope with booting from software RAID5.
Okay, how about this (hopefully it makes sense):
sda1
raid1
raid5
sda2
raid1
raid5
sda3
raid1
raid5
md0 (raid1)
ext3 /boot
md1 (raid5)
crypt
crypt (md1)
LVM
LVM
ext3 /
swap
So the 2 logical volumes are in a volume group which is on a dmcrypt partition
which is on a RAID5 volume.
That is a mess, and looks like trouble. I tried it though, and the encryption
setup fails, with an error that the swap space is unsafe. It looks safe to me...
Still, I'd rather just put two partitions in a dmcrypt volume. Debian-installer
won't let me. Will is be possible later? Is it possible in the first place?
Reply to: