upgrading drives in an older TrueNAS host

Joined
Mar 15, 2024
Messages
2
H/W is an old (read: out of warranty) FREENAS-CERTIFIED-2U-12
O/S upgraded to TrueNAS-13.0-U6.1
Current pool is 4 mirror vdevs, all 4TB drives. I'm part way through upgrading them to 10TB drives.
The first mirror did not expand on its own, the second mirror did:

# zpool list -v tank
NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
tank 19.8T 8.34T 11.5T - 5.47T 6% 42% 1.00x ONLINE /mnt
mirror-0 3.59T 2.10T 1.49T - 5.47T 9% 58.5% - ONLINE
gptid/a4caf5c7-dfe5-11ee-b0c1-00074344de60 9.09T - - - - - - - ONLINE
gptid/1757c664-e0af-11ee-9a92-00074344de60 9.09T - - - - - - - ONLINE
mirror-1 9.06T 2.08T 6.99T - - 4% 22.9% - ONLINE
gptid/3bb09514-e155-11ee-aec4-00074344de60 9.09T - - - - - - - ONLINE
gptid/360ee080-e26a-11ee-b493-00074344de60 9.09T - - - - - - - ONLINE
mirror-2 3.59T 2.09T 1.51T - - 7% 58.0% - ONLINE
gptid/70b6ca6b-756d-11e8-8197-00074344de60 3.62T - - - - - - - ONLINE
gptid/7125ecd8-756d-11e8-8197-00074344de60 3.62T - - - - - - - ONLINE
mirror-3 3.59T 2.08T 1.51T - - 8% 57.9% - ONLINE
gptid/719abfa5-756d-11e8-8197-00074344de60 3.62T - - - - - - - ONLINE
gptid/720cfcb3-756d-11e8-8197-00074344de60 3.62T - - - - - - - ONLINE
How do I expand mirror-0, and should I wait until I finish swapping the drives out for mirror-2 and mirror-3?
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
How do I expand mirror-0,
should be an expand button in the webUI. there is also a cli that I do not know offhand. something like zpool tank expand
should I wait until I finish swapping the drives out for mirror-2 and mirror-3?
whichever. doesnt really matter. if you wait you should be able to just expand it in one command.
 
Joined
Mar 15, 2024
Messages
2
For whatever reason, neither the expand button or `zpool set autoexpand=on tank` worked (autoexpand was already on), but I was able to get the space to pop with `zpool online -e tank gpid/...` run w/ each of the two members of mirror-0.
I'm glad I invested in the "FreeBSD Mastery" series... :^)
 

artlessknave

Wizard
Joined
Oct 29, 2016
Messages
1,506
Top