Cannot resize ZFS: "cannot set property, size is less than current used or reserved space"

greg

Renowned Member
Apr 6, 2011
140
2
83
Greetings

I moved a CT to a new server with larger disks ; the CT works, but if I try to resize/enlarge its disk, I get this error:

Code:
Feb 14 15:24:46  pvedaemon[2758967]: zfs error: cannot set property for 'rpool/ct/subvol-199-disk-0': size is less than current used or reserved space

Current size is 2.1T, I'm trying to add 400G:
Code:
# zfs list rpool/ct/subvol-199-disk-0
NAME                         USED  AVAIL     REFER  MOUNTPOINT
rpool/ct/subvol-199-disk-0  2.21T  11.2T     2.21T  /rpool/ct/subvol-199-disk-0

The CT config matches that info:
Code:
rootfs: ct_A:subvol-199-disk-0,size=2100G

What is this "reserved space"? how can I enlarge the disk size?

Thanks in advance

Regards
 
OK I found it. For those having the same problem: the zfs property refquota wasn't set correctly, so I did:
Code:
zfs set refquota=2.5T rpool/ct/subvol-199-disk-0