Zpool not expanding after all drives replaced with larger ones

Doubly

Cadet
Joined
May 18, 2018
Messages
3
I am running TrueNAS Core (The most recent boot environment says 13.0-U6, but see below) on the following hardware.
MB: Supermicro X10SLL+-F
CPU: Pentium G3440
RAM: Samsung 8GB DDR3-1600 ECC

I have a RAID-Z2 pool that was made of 4x8TB drives.

It was my understanding that if I wanted to expand the capacity of the pool, I could replace one drive with a larger one, resilver, replace and resilver the next drive, and so on until all four drives had been replaced. After that the pool would expand to use all available space.

So I replaced each drive with a 10TB drive with a resilver being completed between each replacement, and after all four drives were replaced, I clicked on "Expand Pool" in the UI, but the size of the pool has not changed. I have tried rebooting and scrubbing, but I'm still showing 12.38 TiB instead of something closer to 17 TiB.

Here is some info about my pool:

Last login: Wed Nov 22 09:00:33 on pts/1
FreeBSD 13.1-RELEASE-p9 n245429-296d095698e TRUENAS

TrueNAS (c) 2009-2023, iXsystems, Inc.
All rights reserved.
TrueNAS code is released under the modified BSD license with some
files copyrighted by (c) iXsystems, Inc.

For more information, documentation, help or support, go here:
http://truenas.com
Welcome to FreeNAS

Warning: the supported mechanisms for making configuration changes
are the TrueNAS WebUI and API exclusively. ALL OTHERS ARE
NOT SUPPORTED AND WILL RESULT IN UNDEFINED BEHAVIOR AND MAY
RESULT IN SYSTEM FAILURE.

root@freenas:~ # zpool status -v
pool: boot-pool
state: ONLINE
status: Some supported and requested 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(7) for details.

pool: zpool2
state: ONLINE
scan: resilvered 359M in 00:08:37 with 0 errors on Tue Nov 21 13:27:43 2023
config:

NAME STATE READ WRITE CKSUM
zpool2 ONLINE 0 0 0
raidz2-0 ONLINE 0 0 0
gptid/b345bdfe-8421-11ee-b2c6-0cc47a785616 ONLINE 0 0 0
gptid/dc360003-84d6-11ee-b2c6-0cc47a785616 ONLINE 0 0 0
gptid/a4ffa4e5-8623-11ee-b2c6-0cc47a785616 ONLINE 0 0 0
gptid/e118ab45-858d-11ee-b2c6-0cc47a785616 ONLINE 0 0 0


root@freenas:~ # zpool get autoexpand zpool2
NAME PROPERTY VALUE SOURCE
zpool2 autoexpand on local


Did I do something wrong? What am I missing? Any guidance would be greatly appreciated.
 

VulcanRidr

Explorer
Joined
Jan 5, 2015
Messages
59
I'm just spitballing here. I grew my pool a couple of years ago from 3TB to 4TB drives, and am currently in process of growing it from 4TB to 10TB drives. As memory serves, the zpool2 autoexpand on local should indicate that once the last drive completes it's resilver, it should automatically grow, no user interactions required. However, you can always do this manually, using zpool online -e zpool2 <list of disk partitions>. From the zpool-online man page:

Code:
    zpool online [-e] pool device…
             Brings the specified physical device online.  This command is not
             applicable to spares.

             -e      Expand the device to use all available space.  If the
                     device is part of a mirror or raidz then all devices must
                     be expanded before the new space will become available to
                     the pool.


So I would verify the capacities of all of the disks (under Storage -> Disks) and make sure they all list something like 9.1TB, and then try the zpool online -e command.
 
Top