I stumbled through the setup of our raid and it was working smoothly. So
then I wanted to test how things would recover from a failed disk. To
simulate a failed disk I did a dd if=/dev/zero of=/dev/sdb1 which
effectively crashed the raid. I stopped the raid and started ckraid
--force-check --fix /dev/md0 which started chugging along, but I get these
errors:
handling MD device /dev/md0
analyzing super-block
disk 0: /dev/sdb1, 17775891kB, raid superblock at 17775808kB
disk 1: /dev/sdc1, 17775891kB, raid superblock at 17775808kB
disk 2: /dev/sdd1, 17775891kB, raid superblock at 17775808kB
disk 3: /dev/sde1, 17775891kB, raid superblock at 17775808kB
disk 4: /dev/sdf1, 17775891kB, raid superblock at 17775808kB
reading raid superblock
device /dev/md0 already clean, but forcing check
checking raid level 5 set /dev/md0
MD ID: a92b4efc
Conforms to MD version: 0.36.4
gvalid_words: 12
Raid set ID: 8f6531ec
Creation time: Fri Apr 30 12:04:03 1999
Update time: Fri Apr 30 12:04:03 1999
State: 1 (clean)
Raid level: 5
Individual disk size: 17359MB (17775744kB)
Chunk size: 128kB
Parity algorithm: 2 (left-symmetric)
Total number of disks: 5
Number of raid disks: 4
Number of active disks: 4
Number of working disks: 5
Number of failed disks: 0
Number of spare disks: 1
Disk 0: raid_disk 0, state: 6 (operational, active, sync)
Disk 1: raid_disk 1, state: 6 (operational, active, sync)
Disk 2: raid_disk 2, state: 6 (operational, active, sync)
Disk 3: raid_disk 3, state: 6 (operational, active, sync)
Disk 4: raid_disk 4, state: 0 (operational, not active, not in sync)
spare device /dev/sdf1
array size: 71102976kB=0xF3C80000
row #1=0x1 incorrectno failed disk known so cant fix
row #4=0x4 incorrectno failed disk known so cant fix
(12 more blocks differ)
row #20=0x14 incorrectno failed disk known so cant fix
row #24=0x18 incorrectno failed disk known so cant fix
row #28=0x1C incorrectno failed disk known so cant fix
(99 more blocks differ)
Any help or pointers?
thanks
-james