I'm trying to get software RAID1 to work on an ATX motherboard
with two identical disks using Red Hat 6.1. There's a problem getting
the
system to function properly after disabling a disk and re-enabling it.
Both disks are partitioned
identically and two partitions are mirrored on each disk as /dev/md0
and /dev/md1. When I boot the system for the first time after setting
up the RAID devices, /proc/mdstat shows the initial sync of the disks
which takes about 4 hours. Everything appears to run fine.
/etc/lilo.conf
and /etc/raidtab look to be correct and I see three raid processes
running. To test the setup I then take the IDE connector off one of the
two disk drives. There are some transient error messages but the
system continues to run. Now the problems:
1. If I do a ps -aux I get a signal 7 error with a message that the
error
should be reported to Red Hat. :(
2. When I shutdown, connect the second disk back and start up again,
the second disk doesn't seem to re-sync. I get a message that the first
disk is running in degraded mode because there's no spare disk to
reconstruct the array. I assumed that connecting the second disk
would cause the system to re-sync the disks and continue on as a
mirrored system again.
So... does RAID1 work differently than I expected? Is there a patch
I'm missing? Do I need a third disk to actually have the system repair
itself?
Thanks in advance for any help!
Jeff H.
[EMAIL PROTECTED]