[CentOS] centos4.2:raid1:grub

Mon Nov 28 04:22:03 UTC 2005
Paul R. Ganci <ganci at nurdog.com>

rado wrote:

>But my goal is to be
>able to test the raid system by just unplugging hda to mimic a faulty
>drive and have it just carry on and boot from hdc.
>
>md0 = hda1/hdc1  /boot (primary boot partitions on both drives)
>md1 = hda2/hdc2  /
>
Can't you just do a software test:

raidsetfaulty /dev/md1 /dev/hdc2 (for example)

Check out the LDP 
http://www.tldp.org/HOWTO/Software-RAID-HOWTO-6.html#ss6.3 for details 
including how to add the disk back to the array.

-- 
Paul (ganci at nurdog.com)