Ok, before anyone starts, I know the rules are:
1 - Determine which hdd you will replace (let's say ada7) in a raidz1 (let's call it tank1)
2 - Id the physical disk
3 - Shut down the system
4 - Pull ada7 out of the system and replace it with a new disk in the same port
5 - Power-on the system (tank1 will be in a degrade state and /dev/ada7 unavailable)
6 - Issue a zpool replace tank1 ada7
7 - Let resilvering finish
8 - Issue a zpool detach tank1 /dev/ada7/old
9 - Issue a zpool export tank1
10 - Re-install FreeNAS from scratch - YES - you heard me right, from scratch.
11 - Do *NOT* restore your existing configuration. It will contain the info from the old hdd and will screw-up during boot time. You *must* re-input all the variables / configurations by hand.
12 - Do and Autoimport from the GUI to import tank1
I've got to step 6, but when I do:
zpool status I get:
[root@freenas] ~# zpool status -v storage
pool: storage
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://www.sun.com/msg/ZFS-8000-2Q
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 0
raidz2 DEGRADED 0 0 0
gptid/8b40e925-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
gptid/8be2a51c-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
gptid/8c93a531-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
16836198783249058229 UNAVAIL 0 0 0 was /dev/gptid/8d5002a8-e858-11e0-af74-d485646aaff3
gptid/8defece2-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
errors: No known data errors
[root@freenas] ~#
Now I happen to know the faulty disk was ada3, so do I just do a:
zpool replace storage ada3
Where have these gptids suddenly come from?
Cheers....
b0redom
1 - Determine which hdd you will replace (let's say ada7) in a raidz1 (let's call it tank1)
2 - Id the physical disk
3 - Shut down the system
4 - Pull ada7 out of the system and replace it with a new disk in the same port
5 - Power-on the system (tank1 will be in a degrade state and /dev/ada7 unavailable)
6 - Issue a zpool replace tank1 ada7
7 - Let resilvering finish
8 - Issue a zpool detach tank1 /dev/ada7/old
9 - Issue a zpool export tank1
10 - Re-install FreeNAS from scratch - YES - you heard me right, from scratch.
11 - Do *NOT* restore your existing configuration. It will contain the info from the old hdd and will screw-up during boot time. You *must* re-input all the variables / configurations by hand.
12 - Do and Autoimport from the GUI to import tank1
I've got to step 6, but when I do:
zpool status I get:
[root@freenas] ~# zpool status -v storage
pool: storage
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://www.sun.com/msg/ZFS-8000-2Q
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
storage DEGRADED 0 0 0
raidz2 DEGRADED 0 0 0
gptid/8b40e925-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
gptid/8be2a51c-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
gptid/8c93a531-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
16836198783249058229 UNAVAIL 0 0 0 was /dev/gptid/8d5002a8-e858-11e0-af74-d485646aaff3
gptid/8defece2-e858-11e0-af74-d485646aaff3 ONLINE 0 0 0
errors: No known data errors
[root@freenas] ~#
Now I happen to know the faulty disk was ada3, so do I just do a:
zpool replace storage ada3
Where have these gptids suddenly come from?
Cheers....
b0redom