I replaced a dead disk in a ZFS pool (on FreeNAS-11.1-U6.3) following the hints I found at Need to replace disk in zpool ... confused ...
# zpool replace raid2 gptid/f00-whatever-id-that-was-f46d049aaeca /dev/ada0
and after resilvering for 20 hours, the pool is healthy and online again... so thanks a lot to the original poster & replies \o/ :D
There's one thing though that's annoying me: The current result of a zpool status jake
command. It looks quite weird:
# zpool status jake
pool: jake
state: ONLINE
scan: resilvered 3.24T in 0 days 20:21:41 with 0 errors on Wed Jan 9 16:04:10 2019
config:
NAME STATE READ WRITE CKSUM
jake ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
gptid/c735d419-f00-dead-beef-924a3908f2 ONLINE 0 0 0
ada1 ONLINE 0 0 0
gptid/adc35419-f00-dead-beef-924a3908f2 ONLINE 0 0 0
gptid/f50d12c3-f00-dead-beef-924a3908f2 ONLINE 0 0 0
gptid/acab0c73-f00-dead-beef-924a3908f2 ONLINE 0 0 0
errors: No known data errors
So... ada1
instead of gptid/whatever
:(
It looks like I didn't initialize and/or specify the new HD correctly?
How can I fix this? Removing it from the pool, initiaize it correctly and then re-add it?
Thanks for your help,
R