Hi, I'm running a 9.2.1.1 freenas, with 3x2tB HD. One of them failed completely and wasn't even seen by the bios, or by a linux computer nor by the Seagate diag tool. Freenas complains that it's in a degraded mode (i still have my datas, so everything is still ok).
Now i want to replace the dead disk. I've shut donw freenas, remove the faulty drive and replaced it with a same brand (seagate) same size (2tB) HD. From ssh, i can show the zpool status :
pool: Vol0
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 384K in 5h45m with 0 errors on Sun Mar 2 14:46:05 2014
config:
NAME STATE READ WRITE CKSUM
Vol0 DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
gptid/20f06387-3b74-11e1-bfab-001aa098871c ONLINE 0 0 0 block size: 512B configured, 4096B native
gptid/2152ddd0-3b74-11e1-bfab-001aa098871c ONLINE 0 0 0 block size: 512B configured, 4096B native
8658243511684621660 UNAVAIL 0 0 0 was /dev/gptid/21bf9aaa-3b74-11e1-bfab-001aa098871c
The volume Vol0 is degarded (that we already know), the third line show the third disk that is unavailable. I need to add the new third disk (the one that works), remove the unavailable disk from the pool, and resilver the whole thing.
My problem is that i can't offline the unavailable hd (or may be i don't do things right : zpool offline Vol0 /dev/gptid/21bf9aaa-3b74-11e1-bfab-001aa098871c), and i don't get how to add the new HD (that is seen as ada2 from the gui view).
I have several tutos in my bookmarks, such as http://dcprom0.blogspot.fr/2013/09/freenas-replacing-failed-disk.html, but i'm not completely easy with it...
Can someone give me a push ?
Best regards
Now i want to replace the dead disk. I've shut donw freenas, remove the faulty drive and replaced it with a same brand (seagate) same size (2tB) HD. From ssh, i can show the zpool status :
pool: Vol0
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 384K in 5h45m with 0 errors on Sun Mar 2 14:46:05 2014
config:
NAME STATE READ WRITE CKSUM
Vol0 DEGRADED 0 0 0
raidz1-0 DEGRADED 0 0 0
gptid/20f06387-3b74-11e1-bfab-001aa098871c ONLINE 0 0 0 block size: 512B configured, 4096B native
gptid/2152ddd0-3b74-11e1-bfab-001aa098871c ONLINE 0 0 0 block size: 512B configured, 4096B native
8658243511684621660 UNAVAIL 0 0 0 was /dev/gptid/21bf9aaa-3b74-11e1-bfab-001aa098871c
The volume Vol0 is degarded (that we already know), the third line show the third disk that is unavailable. I need to add the new third disk (the one that works), remove the unavailable disk from the pool, and resilver the whole thing.
My problem is that i can't offline the unavailable hd (or may be i don't do things right : zpool offline Vol0 /dev/gptid/21bf9aaa-3b74-11e1-bfab-001aa098871c), and i don't get how to add the new HD (that is seen as ada2 from the gui view).
I have several tutos in my bookmarks, such as http://dcprom0.blogspot.fr/2013/09/freenas-replacing-failed-disk.html, but i'm not completely easy with it...
Can someone give me a push ?
Best regards