toadman
Guru
- Joined
- Jun 4, 2013
- Messages
- 619
I haven't seen this one before...but it's a problem. I'm running 9.2.0-RELEASE-x64.
I've got a pool with 4 mirrored(x2) vdevs. I had a drive start to throw sector errors so I decided to replace it. After taking the drive offline via the gui, I'm now stuck. The following things cause zfs to hang (command doesn't complete, pool not available, but the OS is available - e.g. can SSH into the server):
- "replace" via the GUI hangs zfs
- "zpool replace" via command line hangs zfs
- "zpool attach" via command line hangs zfs
- "zpool detach" via command line hangs zfs
Something with the identifying on the drive went haywire. Here is the zpool status output:
pool: pool0
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: scrub repaired 0 in 6h18m with 0 errors on Thu Jan 2 13:18:09 2014
config:
NAME STATE READ WRITE CKSUM
pool0 DEGRADED 0 0 0
mirror-0 ONLINE 0 0 0
gptid/6b1a2268-cd59-11e2-a450-6805ca0df8de ONLINE 0 0 0
gptid/c0f72699-38fd-11e2-b89f-6805ca0dea40 ONLINE 0 0 0
mirror-1 DEGRADED 0 0 0
12540302857970932507 OFFLINE 0 0 0 was /dev/gptid/82b5c85e-cd59-11e2-a450-6805ca0df8de
gptid/a26d10ed-debc-11e2-82df-0015172951de ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
gptid/d50f089e-cd59-11e2-a450-6805ca0df8de ONLINE 0 0 0
gptid/0213231d-5064-11e2-8d3e-6805ca0dea40 ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
gptid/071cd876-cd5a-11e2-a450-6805ca0df8de ONLINE 0 0 0
gptid/4f9bc54e-bce3-11e2-8a6d-20cf3032cfe3 ONLINE 0 0 0
errors: No known data errors
Note the "12540302857970932507" and the "was /dev/gptid/82b5c85e-cd59-11e2-a450-6805ca0df8de" in mirror-1.
I can't reference either on the command line to get a replacement (or detach) to happen. If I reference "gptid/a26d10ed-debc-11e2-82df-0015172951de" which should allow me to do an attach with another drive (to at least get that mirror back to 2 live drives) it doesn't work (hangs).
The pool operates in a degraded state if I don't attempt any changes.
Ideas anyone?
I've got a pool with 4 mirrored(x2) vdevs. I had a drive start to throw sector errors so I decided to replace it. After taking the drive offline via the gui, I'm now stuck. The following things cause zfs to hang (command doesn't complete, pool not available, but the OS is available - e.g. can SSH into the server):
- "replace" via the GUI hangs zfs
- "zpool replace" via command line hangs zfs
- "zpool attach" via command line hangs zfs
- "zpool detach" via command line hangs zfs
Something with the identifying on the drive went haywire. Here is the zpool status output:
pool: pool0
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: scrub repaired 0 in 6h18m with 0 errors on Thu Jan 2 13:18:09 2014
config:
NAME STATE READ WRITE CKSUM
pool0 DEGRADED 0 0 0
mirror-0 ONLINE 0 0 0
gptid/6b1a2268-cd59-11e2-a450-6805ca0df8de ONLINE 0 0 0
gptid/c0f72699-38fd-11e2-b89f-6805ca0dea40 ONLINE 0 0 0
mirror-1 DEGRADED 0 0 0
12540302857970932507 OFFLINE 0 0 0 was /dev/gptid/82b5c85e-cd59-11e2-a450-6805ca0df8de
gptid/a26d10ed-debc-11e2-82df-0015172951de ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
gptid/d50f089e-cd59-11e2-a450-6805ca0df8de ONLINE 0 0 0
gptid/0213231d-5064-11e2-8d3e-6805ca0dea40 ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
gptid/071cd876-cd5a-11e2-a450-6805ca0df8de ONLINE 0 0 0
gptid/4f9bc54e-bce3-11e2-8a6d-20cf3032cfe3 ONLINE 0 0 0
errors: No known data errors
Note the "12540302857970932507" and the "was /dev/gptid/82b5c85e-cd59-11e2-a450-6805ca0df8de" in mirror-1.
I can't reference either on the command line to get a replacement (or detach) to happen. If I reference "gptid/a26d10ed-debc-11e2-82df-0015172951de" which should allow me to do an attach with another drive (to at least get that mirror back to 2 live drives) it doesn't work (hangs).
The pool operates in a degraded state if I don't attempt any changes.
Ideas anyone?