Here we go again! Beware that it is NOT possible to do a straight raidz1 in-place hdd replacement in Beta 4. The *only* procedure that works is the one I'll describe below, but it is a pain in the neck. Nothing else works (you will just corrupt your data):
Steps:
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
Now, what kills me is that there is no freaking way to do this in *any* other way.
Few things that do not work:
1 - Use HDD Replace In-Place from the GUI: error message - no action - new bug ticket created.
2 - Export from GUI and re-import from CLI: no mount point - import does not survive reboot - further import will corrupt your data since raidz1 is in degraded state.
Steps:
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
Now, what kills me is that there is no freaking way to do this in *any* other way.
Few things that do not work:
1 - Use HDD Replace In-Place from the GUI: error message - no action - new bug ticket created.
2 - Export from GUI and re-import from CLI: no mount point - import does not survive reboot - further import will corrupt your data since raidz1 is in degraded state.