I'm trying to add a large disk to a vm, There's plenty of space on the zfs pool (tank2) according to df or the Proxmox UI. Still when I try to add a disk greater than 1TB I get an error:
zfs error: cannot create 'tank2/vm-111-disk-2': out of space at /usr/share/perl5/PVE/API2/Qemu.pm line 1442. (500)
df reports 3.8T available, while the UI says it's got 4.71 TB (in the add file dialog).
Still, adding 2TB fails...
Why is this and why do df and the UI report different values?
Thanks.
cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
prune-backups keep-last=3
shared 0
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir
zfspool: tank1
pool tank1
content rootdir,images
zfspool: tank2
pool tank2
content rootdir,images
root@pve:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 63G 0 63G 0% /dev
tmpfs 13G 21M 13G 1% /run
/dev/mapper/pve-root 46G 38G 6.0G 87% /
tmpfs 63G 43M 63G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 63G 0 63G 0% /sys/fs/cgroup
tank1 2.5T 81G 2.4T 4% /tank1
tank2 4.0T 230G 3.8T 6% /tank2
tank1/subvol-119-disk-0 16G 698M 16G 5% /tank1/subvol-119-disk-0
tank1/subvol-107-disk-0 32G 3.1G 29G 10% /tank1/subvol-107-disk-0
tank1/subvol-127-disk-0 30G 9.3G 21G 31% /tank1/subvol-127-disk-0
tank1/subvol-123-disk-0 16G 2.3G 14G 15% /tank1/subvol-123-disk-0
tank1/subvol-116-disk-0 32G 3.3G 29G 11% /tank1/subvol-116-disk-0
tank1/subvol-128-disk-0 1.2T 996G 205G 83% /tank1/subvol-128-disk-0
tank1/subvol-124-disk-0 32G 4.8G 28G 15% /tank1/subvol-124-disk-0
tank1/subvol-121-disk-0 30G 30G 7.2M 100% /tank1/subvol-121-disk-0
tank2/subvol-117-disk-0 100G 22G 79G 22% /tank2/subvol-117-disk-0
tank2/subvol-100-disk-0 64G 3.3G 61G 6% /tank2/subvol-100-disk-0
tank2/subvol-102-disk-1 8.0G 3.1G 5.0G 39% /tank2/subvol-102-disk-1
tank2/subvol-102-disk-0 8.0G 1.5G 6.6G 19% /tank2/subvol-102-disk-0
tank2/subvol-125-disk-0 32G 1.6G 31G 5% /tank2/subvol-125-disk-0
/dev/fuse 30M 40K 30M 1% /etc/pve
tmpfs 13G 0 13G 0% /run/user/0
zfs error: cannot create 'tank2/vm-111-disk-2': out of space at /usr/share/perl5/PVE/API2/Qemu.pm line 1442. (500)
df reports 3.8T available, while the UI says it's got 4.71 TB (in the add file dialog).
Still, adding 2TB fails...
Why is this and why do df and the UI report different values?
Thanks.
cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content backup,iso,vztmpl
prune-backups keep-last=3
shared 0
lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir
zfspool: tank1
pool tank1
content rootdir,images
zfspool: tank2
pool tank2
content rootdir,images
root@pve:~# df -h
Filesystem Size Used Avail Use% Mounted on
udev 63G 0 63G 0% /dev
tmpfs 13G 21M 13G 1% /run
/dev/mapper/pve-root 46G 38G 6.0G 87% /
tmpfs 63G 43M 63G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 63G 0 63G 0% /sys/fs/cgroup
tank1 2.5T 81G 2.4T 4% /tank1
tank2 4.0T 230G 3.8T 6% /tank2
tank1/subvol-119-disk-0 16G 698M 16G 5% /tank1/subvol-119-disk-0
tank1/subvol-107-disk-0 32G 3.1G 29G 10% /tank1/subvol-107-disk-0
tank1/subvol-127-disk-0 30G 9.3G 21G 31% /tank1/subvol-127-disk-0
tank1/subvol-123-disk-0 16G 2.3G 14G 15% /tank1/subvol-123-disk-0
tank1/subvol-116-disk-0 32G 3.3G 29G 11% /tank1/subvol-116-disk-0
tank1/subvol-128-disk-0 1.2T 996G 205G 83% /tank1/subvol-128-disk-0
tank1/subvol-124-disk-0 32G 4.8G 28G 15% /tank1/subvol-124-disk-0
tank1/subvol-121-disk-0 30G 30G 7.2M 100% /tank1/subvol-121-disk-0
tank2/subvol-117-disk-0 100G 22G 79G 22% /tank2/subvol-117-disk-0
tank2/subvol-100-disk-0 64G 3.3G 61G 6% /tank2/subvol-100-disk-0
tank2/subvol-102-disk-1 8.0G 3.1G 5.0G 39% /tank2/subvol-102-disk-1
tank2/subvol-102-disk-0 8.0G 1.5G 6.6G 19% /tank2/subvol-102-disk-0
tank2/subvol-125-disk-0 32G 1.6G 31G 5% /tank2/subvol-125-disk-0
/dev/fuse 30M 40K 30M 1% /etc/pve
tmpfs 13G 0 13G 0% /run/user/0