Software Raid 1 in Linux - won't boot!

Skaven

Senior member
Oct 18, 1999
835
0
0
I am building a cluster of Shuttle SN25Ps to power a LCD tile display wall for the university. We are loading each of the SN25Ps with Redhat Enterprise Linux as we have a contract with Redhat for the OS. The SN25Ps have NVIDIA Raid in the BIOS but I have done some research and come to the conclusion that it is NOT a solution for Linux. So we have decided to go the software raid route. I have followed the Redhat manual to the letter as far as creating a software Raid setup and it has only worked for me once. For some reason, after completing the install, Grub will not run. After POST the system just sits as if there is no bootable disk (yet I never get a no bootable disk error).

I have gone through 6 different iterations of the install and the ONLY time I had success was when I just installed Redhat to one disk (no raid) to make sure that the system would boot it. Immediately afterwards I re-installed using Raid and, sure enough, the system would boot. I wanted to test to make sure that the Raid was working so I shut the system down and unplugged one of the drives and tried to boot back up. Long story short - I had the same problem and it wasn't booting again. After the 7th! re-install the system is still not booting.

A colleague of mine is doing something similar on another computer with a Nvidia chipset motherboard and he is having the exact same problems. He has tried with both Fedora 4 and Redhat Enterprise 4.

We need the redundancy in these clusters, I figured that software Raid 1 would be our best bet!

The drives are Seagate Barracuda 7200.8 250gb

I have partitioned two different ways:

LVM setup:
/dev/MD0 /boot ext3 100mb
/dev/MD1 LVM VolGroup00
LogVol00 / ext3 230gb
LogVol01 swap 2000mb

Normal Raid:
/dev/md0 /boot ext3 100mb
/dev/md1 / ext3 230gb
/dev/md2 swap 2000mb

Its frustrating that Redhat and Fedora no longer make boot floppys as part of the install. I may try to install and tell the system not to install Grub to see if I have better luck booting off of the floppy and then setting up Grub.

Any advice would be appreciated!
 

Skaven

Senior member
Oct 18, 1999
835
0
0
Ok.. it looks as though its a known bug with Grub:

"Some GNU/Linux distributions, like RedHat 8.0 and possibly others, have a bug in their init-scripts, so that they will fail to start up RAID arrays on boot, if your /etc/raidtab has spaces or tabs before the raid-level keywords." Linux.com Link

I'm going to install without a boot loader and then see if I can manually install a loader that works.
 

Skaven

Senior member
Oct 18, 1999
835
0
0
Booted off of the Install CD in emergency repair mode and re-initialized the master boot records using GRUB. Works great! Even did a failure test of the raid and it booted off of either HD.

 

P0ldy

Senior member
Dec 13, 2004
420
0
0
Glad you were able to figure it out by yourself and post the answer. This *might* save someone from posting their own topic.