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

greg

Renowned Member
Apr 6, 2011
135
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!