replacing boot pool with larger usb does not increase capacity

mvcad

Contributor
Joined
Feb 25, 2018
Messages
116
G'day,

I have a mirrored boot pool with 2 off USB sticks of 16 GB each. one failed so I replaced it with a 64GB one, and then replaced the other one with a 64G as well. I was expecting to see a full storage capacity of 64 GB at the end but it is still 16 GB. Am i missing something?

1651709145180.png
 
Joined
Jun 2, 2019
Messages
591
Did you expand the boot pool?

Might have to be done via command line. Backup your config first.

Code:
# list of set commands
zpool set
# check autoexpand status
zpool get autoexpand,expandsize
# enable autoexpand
zpool set autoexpand=on <pool name>
# expand online
zpool online -e <pool name> <disk partition>


Otherwise, you may have to simply save your config (+export secret seed), perform a clean install, and restore the config.
 
Last edited:

mvcad

Contributor
Joined
Feb 25, 2018
Messages
116
Did you expand the boot pool?

Might have to be done via command line. Backup your config first.

Code:
# list of set commands
zpool set
# check autoexpand status
zpool get autoexpand,expandsize
# enable autoexpand
zpool set autoexpand=on <pool name>
# expand online
zpool online -e <pool name> <disk partition>


Otherwise, you may have to simply save your config (+export secret seed), perform a clean install, and restore the config.
Thanks mate, How do I know which <disk partition>?
 
Joined
Jun 2, 2019
Messages
591
Thanks mate, How do I know which <disk partition>?
It's likely be the second partition of your boot device.

In my case, its da0p2

Code:
root@NAS-1[~]# zpool status
  pool: boot-pool
 state: ONLINE
  scan: scrub repaired 0B in 00:01:32 with 0 errors on Tue May  3 03:46:32 2022
config:

    NAME        STATE     READ WRITE CKSUM
    boot-pool   ONLINE       0     0     0
      da0p2     ONLINE       0     0     0


 
Top