How to expand storage allocation

I’m trying to allocate more storage to my pool. When I initially setup, I used 45g and I’d like to expand this amount.

I found this: incus/doc/storage.md at main · lxc/incus · GitHub and ran the commands at the bottom for growing a loop backend ZFS pool. I’m now showing this:

root@lxd:~# zpool list
NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT
default 167G 2.75G 164G - 3% 1% 1.00x ONLINE -
root@lxd:~# lxc storage show default
config:
size: 45GB
source: /var/snap/lxd/common/lxd/disks/default.img
zfs.pool_name: default
description: “”
name: default
driver: zfs

How come the “default” is still showing 45g but the pool is now 167g?

1 Like

That size property can be ignored, it’s the size which was requested at creation time, if the pool is grown later this doesn’t change.