Raid 1 booting issue

w1z4rd

Karmic Sangoma
Joined
Jan 17, 2005
Messages
52,146
Reaction score
8,340
Location
127.0.0.1
So another drive in a raid 1 array failed. I went there today. De-linked the drive. Unplugged it, and tried to boot up off the one healthy disk. I get the error. Boot failed.

I put the other drive in and the system is able to boot. This is weird, because there were two raid arrays. MD0 and MD1. MD0 being a small boot raid partition to boot up off. I have swopped drives out of this raid 1 configuration several times (we went through a batch of bad drives).

I dont know why the boot parition would have failed. Any idea on how to fix this so I can boot it up to add a new drive to repair the array?
 
What OS are you running ? If it is Linux, do you have GRUB installed on both disks ? I had to do this manually on each RAID install back in the days of ClarkConnect
 
What OS are you running ? If it is Linux, do you have GRUB installed on both disks ? I had to do this manually on each RAID install back in the days of ClarkConnect

Linux.

I would have assumed the grub would have copied. It should have been raided.
 
Linux.

I would have assumed the grub would have copied. It should have been raided.

Check out this article to see if it helps http://www.clearcenter.com/support/....1/user_guide/configuring_partitions_and_raid Refer the section about 'boot loader'

If the secondary disk fails (/dev/sdc), then the system will still be bootable. If the primary disk fails (/dev/sda), then your system will not boot.

Also, by default, the MBR is only created on the first disk in a RAID1 array.
 
Check out this article to see if it helps http://www.clearcenter.com/support/....1/user_guide/configuring_partitions_and_raid Refer the section about 'boot loader'

If the secondary disk fails (/dev/sdc), then the system will still be bootable. If the primary disk fails (/dev/sda), then your system will not boot.

Also, by default, the MBR is only created on the first disk in a RAID1 array.

Thats exactly what I was looking for. If I could +1 this post I would. Thank you ITCynic.
 
Just to add onto this - when installing grub you can specify that it gets installed to both MBRs at the same time with grub-install /dev/sda /dev/sdb. Ubuntu's (and presumably other distros) installation does this automatically when setting up software raid.
 
Top
Sign up to the MyBroadband newsletter
X