SOLVED Volume status DEGRADED, can't replace with spare

Status
Not open for further replies.

beria

Cadet
Joined
Jan 26, 2015
Messages
2
Hello All,

I've got problem to swap broken disk with failed one. I've got following volume:

[root@KWITSTNAS01] ~# zpool status -x
pool: vol1
state: DEGRADED
status: One or more devices could not be opened. Sufficient replicas exist for
the pool to continue functioning in a degraded state.
action: Attach the missing device and online it using 'zpool online'.
see: http://illumos.org/msg/ZFS-8000-2Q
scan: scrub repaired 0 in 7h24m with 0 errors on Sun Jan 4 07:24:50 2015
config:

NAME STATE READ WRITE CKSUM
vol1 DEGRADED 0 0 0
mirror-0 ONLINE 0 0 0
gptid/2ecfc52f-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
gptid/2f319d98-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
gptid/4d50efbb-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
gptid/4db1497d-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
mirror-2 ONLINE 0 0 0
gptid/6f10e4e2-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
gptid/6f7172a3-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
mirror-3 ONLINE 0 0 0
gptid/86f271a2-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
gptid/87779472-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
mirror-4 DEGRADED 0 0 0
216606963221122002 UNAVAIL 0 0 0 was /dev/gptid/ac8bbb9f-93c2-11e3-971e-002590ca2e10
gptid/acef77ec-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
mirror-5 ONLINE 0 0 0
gptid/c4e94566-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
gptid/c54c6878-93c2-11e3-971e-002590ca2e10 ONLINE 0 0 0
logs
gptid/741ed67c-94ab-11e3-971e-002590ca2e10 ONLINE 0 0 0
cache
gptid/c5cf52ed-94ab-11e3-971e-002590ca2e10 ONLINE 0 0 0
spares
gptid/ddb32705-93c2-11e3-971e-002590ca2e10 AVAIL
gptid/f4f3ba99-93c2-11e3-971e-002590ca2e10 AVAIL

errors: No known data errors


But when I've tried:

zpool vol1 replace 216606963221122002 gptid/ddb32705-93c2-11e3-971e-002590ca2e10

I've lost this array for two days (I mean this array serving one big disk via iSCSI to windows machine, and this disk was unavailable for two days), and nothing happend. During this two days FreeNAS was totally unresponsive.
So I've decided to reboot this, since 2 days is too much time. After reboot evertything is OK (except zpool status as above).

So my question here is: how to gently replace this broken disk?
 

beria

Cadet
Joined
Jan 26, 2015
Messages
2
Actually, yes.

Beforme messing with CLI, I've tried to swap disks via GUI - no luck. (spare disks where not visible in replace dialog window).

But finally after this morning reboot, I was able to do this via GUI.
I'm not sure why this problem occur. And also my nice uptime was gone :/ (389 days)
 
Status
Not open for further replies.
Top