On Sat, 2004-10-09 at 13:08 +0100, Dan Peachey wrote:
> 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.
I tried the following (3 x HDD):
In partman, set up the three disks to have identical partition tables:
* A small primary partition with boot flag set.
* A large logical partition.
* A small logical partition.
I then took all the small primary partitions and created a RAID1 out of
them (/dev/md/0). I put /boot on this (ReiserFS).
Then, I took the large logical partitions and created a RAID5 out of
them (/dev/md/1). The small logical partitions were marked as swap.
I manually ran pvcreate and vgcreate on /dev/md/1. Then, using partman,
I added logical volumes for /, /usr, /var, /home and /tmp. Still using
partman, I assigned the mount points and chose to format all logical
volumes as ReiserFS. Partman finished its work.
However, as a result of this, GRUB install was disabled, and LILO was to
be used instead. LILO install didn't work; I tried specifying the first
disk's MBR manually but LILO failed whatever I tried.
Am I right in assuming that both LILO and GRUB should work, since they
can read the kernel image and initrd from one of the disks in the RAID1
array that comprises /boot, and the initrd contains all neccessary
things to access / on RAID5 and LVM? Ie. is it enough that /boot is on
RAID1 or plain partition with no LVM?
Cheers,
--
Fabian Fagerholm <fabbe@paniq.net>
Attachment:
signature.asc
Description: This is a digitally signed message part