Jeremy Zawodny
Cadet
- Joined
- Oct 19, 2015
- Messages
- 3
I recently had a disk fail in my 3 disk RAIDZ setup.
I ended up using a mix of command-line and the GUI to do it (I prefer the command-line) and managed to add the new drive as a spare and it's now be used as a member of the array. The resilvering process completed and my data appears safe.
HOWEVER, the flashing red icon in the GUI and the output of zpool status indicates that I'm not done yet:
The documentation I've read has slightly confused me about what to do next. Do I need to simply add a new spare drive and then "replace" the OFFLINE one? Or do I somehow need to promote the INUSE spare to being a full-fledged member of the raidz group? Or both?
If it matters, I'm running:
FreeBSD 9.2-RELEASE-p12 (FREENAS.amd64) #0 r262572+b043649: Sun Sep 28 23:03:31 PDT 2014
which is:
FreeNAS-9.2.1.8-RELEASE-x64 (e625626)
Thanks in advance for any advice...
Jeremy
I ended up using a mix of command-line and the GUI to do it (I prefer the command-line) and managed to add the new drive as a spare and it's now be used as a member of the array. The resilvering process completed and my data appears safe.
HOWEVER, the flashing red icon in the GUI and the output of zpool status indicates that I'm not done yet:
Code:
[jzawodn@freenas] /mnt/vol0/jzawodn# zpool status pool: vol0 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.02T in 25h44m with 0 errors on Sat Oct 17 22:15:49 2015 config: NAME STATE READ WRITE CKSUM vol0 DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 gptid/1f48a3c2-94fd-11e2-abbb-00241d279345 ONLINE 0 0 0 gptid/1fcf4682-94fd-11e2-abbb-00241d279345 ONLINE 0 0 0 spare-2 DEGRADED 0 0 0 14418045192352924852 OFFLINE 0 0 0 was /dev/gptid/204b99a0-94fd-11e2-abbb-00241d279345 gptid/3141637e-747f-11e5-b201-00241d279345 ONLINE 0 0 0 spares 1406125605076481332 INUSE was /dev/gptid/3141637e-747f-11e5-b201-00241d279345 errors: No known data errors
The documentation I've read has slightly confused me about what to do next. Do I need to simply add a new spare drive and then "replace" the OFFLINE one? Or do I somehow need to promote the INUSE spare to being a full-fledged member of the raidz group? Or both?
If it matters, I'm running:
FreeBSD 9.2-RELEASE-p12 (FREENAS.amd64) #0 r262572+b043649: Sun Sep 28 23:03:31 PDT 2014
which is:
FreeNAS-9.2.1.8-RELEASE-x64 (e625626)
Thanks in advance for any advice...
Jeremy