James Knott wrote:
David C. Rankin wrote:
James Knott wrote:
I recently installed OpenSUSE 11.0 on a server with 4 SCSI drives. While I followed the instructions in this link, to set up /boot on RAID1, the system was not bootable, with invalid partition table errors. When I install without using RAID for /boot, it boots properly. Any idea on how to get RAID to work for this?
tnx jk
http://en.opensuse.org/How_to_install_openSUSE_on_software_RAID
James,
I have done ATA and SATA but not SCSI, but that shouldn't make any difference. The way I do it during install is when Yast proposes a partitioning scheme,
(1) choose expert settings;
(2) delete all the partitions that yast proposed;
(3) on each of the discs you want to mirror, create the partitions and pick the option "[ ] Do Not Format" and set the filesystem type to "Linux RAID". Do this on all mirrored partitions;
(4) next choose the RAID button and Create. Yast will then show a list of all the partitions that you have created;
(5) next choose Add, and pick a partition from each drive that you will mirror one at a time. When you choose add after selecting a partition you will then assign the filesystem type 'Ext3, etc.' and the mount point. You will also notice that the first pair of partitions selected will be designated /md0. Go through the same steps here twice before moving on, for example once for /boot on sdc5 and once for /boot on sdd5. Now when you look at the screen full of partitions you will have /md0 up top and, continuing with the example, /boot to the right of sdc5 and to the right of sdd5;
(6) click finish and goto step (4) for each additional raid set you want to create. You will see the subsequent sets designated as /md1, /md2, etc..; and
(7) When you're done, just say OK or confirm like you normally would in the partitioner and move on to software selection.
The same process applies to adding new drives and raid sets to an existing install. Thankfully doing it this way it has always just worked. Hopefully it will for you as well.
I did all that, as per the directions. I tried it a couple of times and the result was the same. I couldn't even boot in rescue mode and mount /boot, as it complained it was part of a RAID array. How is a booting computer supposed to deal with RAID, when it can't even load the necessary software to do that? Creating RAID arrays is not the problem. Booting one is, even though I used RAID 1 for /boot..
Apparently grub does not yet support software raid on linux. I intalled my /boot on a normal partition, and all others on raid1 which works fine for me. You may get it to work however by changing where grub gets installed. This post my help. It was a little involved for me so I didn't follow it, but it may work for you. http://lists.opensuse.org/opensuse/2007-12/msg00106.html Good luck, Jim -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org