Re: LVM on software RAID - LILO
On Friday 08 October 2004 13:28, Fabian Fagerholm wrote:
> Has anyone tried the following workaround:
>
> /boot on RAID1 with N physical partitions
> /root, /usr, /var, etc. on LVM, with LVM on either RAID1 or RAID5?
>
> That would mean /root on RAID5 would be possible, by using a small
> portion of the disks as a RAID1 on which /boot is placed. And if I've
> understood things correctly, GRUB should be usable in this case.
I can confirm that this works. I have 2 x HDD and in partman I setup a small
partition and large partition on each, identical in size, and marked them for
RAID. Then create 2 RAID devices for each drive/partition, the small RAID
device (md0) I mounted /boot on, and then ran pvcreate/vgcreate on md1 and
added the rest of my partitions through partman. The install then runs
flawlessly and GRUB installs fine and all boots up OK. Once in to the OS I
had to run GRUB manually to install on to the 2nd HDD to enable it to boot. I
then disconnected one drive at a time and the other drive boots fine! So I'm
happy now :)
Thanks, Dan
P.S both RAID's are RAID1 by the way.
Reply to: