Re: Cannot remove failed drive
From: Neil Brown <hidden>
Date: 2004-06-24 21:51:58
On Thursday June 24, philip@corp.texas.net wrote:
I have a drive that failed out:
scsi1: ERROR on channel 0, id 1, lun 0, CDB:
Read (10) 00 00 c2 a0 3f 00 00 28 00
Info fld=0xc2a03f, Current sdf: sense key Medium Error
Additional sense: Read retries exhausted
end_request: I/O error, dev sdf, sector 12755007
raid1: Disk failure on sdf1, disabling device.
^IOperation continuing on 1 devices
raid1: sdf1: rescheduling sector 12754944
raid1: sdb1: redirecting sector 12754944 to another mirror
/proc/mdstat shows the drive failed:
md4 : active raid1 sdf1[2](F) sdb1[0]
35905152 blocks [2/1] [U_]
When I try to remove the drive:
# mdadm /dev/md4 -r /dev/sdf1
mdadm: hot remove failed for /dev/sdf1: Device or resource busyThis fix for this went into Linus' BK tree 20 days ago, and so is in 2.6.7-rc3 and later. NeilBrown http://linux.bkbits.com:8080/linux-2.5/cset@40c2091dDFmX9NP0UWlmCGCZNPsEoA