-   Linux - General (
-   -   Software Raid Setup Ok - Reboot fails on disk failure test (

ikke 05-10-2003 12:46 PM

Software Raid Setup Ok - Reboot fails on disk failure test

I have set up a software raid-1 with 2 IDE disks successfully. Everything seemed to work well until I tried to imitate a disk failure. I turned the box off and unplugged 1 HD. After I did that it was impossible to reboot (the bootloader doesn't appear). It didn't even work to reboot with a floppy. Now I have plugged both drives again and everything works again. Why did this failure test not work?

Any help is appreciated.

Below you can find some info about my setup:

----df ------------ ------------------------
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md2 7052308 2554648 4139420 39% /
/dev/md0 100890 14198 81483 15% /boot
/dev/md3 68754336 325860 64935952 1% /home
none 256916 0 256916 0% /dev/shm
/dev/cdrom1 551580 551580 0 100% /mnt/cdrom1

----- cat /proc/mdstat -----------------
Personalities : [raid1]
read_ahead 1024 sectors
md3 : active raid1 hde5[0] hdg5[1]
69850496 blocks [2/2] [UU]

md1 : active raid1 hde3[0] hdg3[1]
1052160 blocks [2/2] [UU]

md2 : active raid1 hde2[0] hdg2[1]
7164800 blocks [2/2] [UU]

md0 : active raid1 hde1[0] hdg1[1]
104192 blocks [2/2] [UU]

unused devices: <none>

td3201 05-11-2003 12:59 AM

Hrm, I am curious how lilo writes to the MBR in a raid situation....i think your test would work in a running situation. in other words, if the drive fails while the box is running, raid would work....this is a good question because I have set my boxes up like this before but all my problems have happened during runtime and not before booting.....hrm....

ikke 05-11-2003 07:42 PM

I am using Grub as bootloader, I don't understand why the bootloader doesn't load with 1 disk, I guess that the 2 disks contain exactly the same data? :confused:

All times are GMT -5. The time now is 03:15 AM.