Hmmm. I know the option is there in 12.0; perhaps it only shows up when your pool is mirrors rather than single disks. So in that case, you’re going to need to do it from the CLI. So let’s suppose I want to remove da2
from my pool. First, I need to find the gptid for da2
:
root@freenas[~]# glabel status
Name Status Components
gptid/03fc8bdc-7ad0-11ec-89be-5183cd5b8f47 N/A da0p1
iso9660/FREENAS N/A cd0
gptid/9429193d-7ad3-11ec-bc7b-e584edbb2f19 N/A da1p2
gptid/9c89e19d-7ad2-11ec-bc7b-e584edbb2f19 N/A da2p2
Then run zpool remove
with that gptid:
root@freenas[~]# zpool remove tank gptid/9c89e19d-7ad2-11ec-bc7b-e584edbb2f19
root@freenas[~]#
Monitor the status using zpool status tank
:
root@freenas[~]# zpool status tank
pool: tank
state: ONLINE
status: Some supported features are not enabled on the pool. The pool can
still be used, but some features are unavailable.
action: Enable all features using 'zpool upgrade'. Once this is done,
the pool may no longer be accessible by software that does not support
the features. See zpool-features(5) for details.
remove: Evacuation of /dev/gptid/9c89e19d-7ad2-11ec-bc7b-e584edbb2f19 in progress since Fri Jan 28 10:24:07 2022
1.55G copied out of 2.20G at 32.3M/s, 70.14% done, 0h0m to go
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
gptid/9c89e19d-7ad2-11ec-bc7b-e584edbb2f19 ONLINE 0 0 0
gptid/9429193d-7ad3-11ec-bc7b-e584edbb2f19 ONLINE 0 0 0
errors: No known data errors
root@freenas[~]#
Once it completes, go back to the pool status page, click the kebab menu next to da1, and select extend:
Select da2 as the new disk:
And then click Extend. The new disk will be added as a mirror: