disaster. raid1 drive failure rsync=DELAYED why?? please help
Hi: some additional information
1) I tried to add the new spare device to /dev/md0 on friday afternoon. It still has not rebuilt. I am also unable to do "ls" of the directory of the drive.
2) I had another idea. Why not umount the drive and then run fsck.ext3 on the drive. Maybe it needs fsck? When I tried that I got the message:
A1:~# umount /home/big0 umount: /home/big0: device is busy umount: /home/big0: device is busy
(/dev/md0 is mounted on /home/big0).
Here is the output from mdadm --detail.
Note: I accidentally renamed the drives in the original posting (sorry..). This is the 'rebuilt' setup. It has been 2 days of time for rebuilding with no change. What do I do to restart the rebuilding???
A1: mdadm --detail /dev/md0/dev/md0:
Version : 00.90.01
Creation Time : Wed Jan 12 14:19:21 2005
Raid Level : raid1
Array Size : 244195904 (232.88 GiB 250.06 GB)
Device Size : 244195904 (232.88 GiB 250.06 GB) Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Fri Mar 11 11:40:23 2005
State : clean, degraded
Active Devices : 1
Working Devices : 2
Failed Devices : 0
Spare Devices : 1
UUID : 6b8b4567:327b23c6:643c9869:66334873
Events : 0.343412
Number Major Minor RaidDevice State
0 34 1 0 active sync /dev/hdg1
1 0 0 - removed
2 56 1 1 spare rebuilding /dev/hdi1
A1:~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdi1[2] hdg1[0]
244195904 blocks [2/1] [U_]
resync=DELAYED
md1 : active raid1 hdc1[1]
244195904 blocks [2/1] [_U]md2 : active raid1 hde1[1]
244195904 blocks [2/1] [_U]
unused devices:
I had some more bright ideas and here is what happened:
I am unable to even do ls on the directory mounted on this raid device.
So, I said, maybe the problem is that I need to run fsck.ext3 on the drive first. So I tried to umount it and i got the error message:
A1:~# umount /home/big0 umount: /home/big0: device is busy umount: /home/big0: device is busy
So I said maybe the problem is the rsyncing. So maybe an idea is to fail the new added device /dev/hdi1 and then remove /dev/hdi1, move back to degraded mode. Do an umount of the drive, then do an fsck.ext3 on the drive and then I can do a reboot and then add the drive back in.
Hey why not?
Ok. So I tried: Here is the transcipt of the session:
A1:~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdi1[2] hdg1[0]
244195904 blocks [2/1] [U_]
resync=DELAYED
md1 : active raid1 hdc1[1]
244195904 blocks [2/1] [_U]md2 : active raid1 hde1[1]
244195904 blocks [2/1] [_U]
unused devices: <none>
A1:~# umount /home/big0 umount: /home/big0: device is busy umount: /home/big0: device is busy A1:~# whoami root A1:~# mdadm /dev/md0 -fail /dev/hdi1 --remove /dev/hdi1 mdadm: hot add failed for /dev/hdi1: Invalid argument
A1:~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdi1[2] hdg1[0]
244195904 blocks [2/1] [U_]
resync=DELAYED
md1 : active raid1 hdc1[1]
244195904 blocks [2/1] [_U]md2 : active raid1 hde1[1]
244195904 blocks [2/1] [_U]
unused devices: <none>
A1:~# mdadm --manage --set-faulty /dev/md0 /dev/hdi1
mdadm: set /dev/hdi1 faulty in /dev/md0
A1:~# mdadm --detail /dev/md0
/dev/md0:
Version : 00.90.01
Creation Time : Wed Jan 12 14:19:21 2005
Raid Level : raid1
Array Size : 244195904 (232.88 GiB 250.06 GB)
Device Size : 244195904 (232.88 GiB 250.06 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 0
Persistence : Superblock is persistent Update Time : Sun Mar 13 01:28:06 2005
State : clean, degraded
Active Devices : 1
Working Devices : 1
Failed Devices : 1
Spare Devices : 0
UUID : 6b8b4567:327b23c6:643c9869:66334873
Events : 0.343413
Number Major Minor RaidDevice State
0 34 1 0 active sync /dev/hdg1
1 0 0 - removed
2 56 1 1 faulty /dev/hdi1
A1:~# mdadm /dev/md0 -r /dev/hdi1
mdadm: hot remove failed for /dev/hdi1: Device or resource busy
A1:~# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 hdi1[2](F) hdg1[0]
244195904 blocks [2/1] [U_]
resync=DELAYED
md1 : active raid1 hdc1[1]
244195904 blocks [2/1] [_U]md2 : active raid1 hde1[1]
244195904 blocks [2/1] [_U]
unused devices: <none>
A1:~# mdadm /dev/md0 -r /dev/hdi1 mdadm: hot remove failed for /dev/hdi1: Device or resource busy A1:~#
Any ideas on what I can do now?
thanks
Mitchell