-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to promote spare to replace failed drive; spare busy. #3175
Comments
It's been a couple of days since I posted this. I'm happy to move this to a mailing list etc. if that is a better forum. I'm happy to run any additional tests/diagnostics if needed. Thanks. |
@dpickford if you haven't already you may want to move this to the mailing list for a faster reply. You may have found a bug here so I don't mind leaving this open, but it will take us a little while before we can look in to it. |
Okay, can do. I'll keep this updated with any learnings from the mailing list. Thx. |
Closing. Issue was moved to the mailing list long ago. |
I have a raidz2 volume with log/cache and 2 spares running on 3.2.0-4-amd64 kernel on Debian 7.
I lost a drive (these 3TB seagates die like flies) and after it rebuilt onto the spare, I'm unable to replace the offline drive, and get a drive busy error.
zpool replace storage ata-ST3000DM001-9YN166_S1F0F33C ata-ST3000VN000-1HJ166_W73036ML
cannot replace ata-ST3000DM001-9YN166_S1F0F33C with ata-ST3000VN000-1HJ166_W73036ML: ata-ST3000VN000-1HJ166_W73036ML is busy
I've actually replaced half a dozen of these drives using the same method over the last couple of years (not kidding about these seagates) and have not had this issue before.
I've tried -f, and manually offlinining and removing the drives, and even went ahead and rebooted to see if that would help with no avail.
Any suggestions would be appreciated.
Here are the package versions:
ii zfs-dkms 0.6.3-1
wheezy all Native ZFS filesystem kernelmodules for Linuxwheezy amd64 command-line tools to manage ZFS filesystemsii zfsonlinux 4 all archive.zfsonlinux.org trust package
ii zfsutils 0.6.3-1
Here is the output of zpool status.
pool: storage
state: DEGRADED
status: One or more devices has been taken offline by the administrator.
Sufficient replicas exist for the pool to continue functioning in a
degraded state.
action: Online the device using 'zpool online' or replace the device with
'zpool replace'.
scan: resilvered 2.22T in 35h20m with 0 errors on Thu Mar 5 03:50:06 2015
config:
The text was updated successfully, but these errors were encountered: