PVE not displaying real HD space

nico2f

New Member
May 15, 2024
10
1
3
Hi everyone,

I've recently reconfigured a node in my Proxmox VE cluster, switching from LVM to ZFS. However, I've noticed that PVE is not correctly displaying the used space on the server.

Captura de pantalla 2025-03-14 104841.png

As shown in the attached screenshot, the web UI reports only 0.07% used (1.90 GiB of 2.67 TiB), but in reality, the usage is higher, as confirmed by the following CLI outputs:

Code:
~# df -h
Filesystem         Size  Used Avail Use% Mounted on
udev                32G     0   32G   0% /dev
tmpfs              6.3G  6.3M  6.3G   1% /run
rpool/ROOT/pve-1   2.7T  2.0G  2.7T   1% /
tmpfs               32G   63M   32G   1% /dev/shm
tmpfs              5.0M     0  5.0M   0% /run/lock
efivarfs           192K  117K   71K  63% /sys/firmware/efi/efivars
rpool/var-lib-vz   3.2T  505G  2.7T  16% /var/lib/vz
rpool              2.7T  128K  2.7T   1% /rpool
rpool/data         2.7T  128K  2.7T   1% /rpool/data
rpool/ROOT         2.7T  128K  2.7T   1% /rpool/ROOT
tmpfs              6.3G     0  6.3G   0% /run/user/0
/dev/fuse          128M   48K  128M   1% /etc/pve

Code:
~# zfs list
NAME               USED  AVAIL  REFER  MOUNTPOINT
rpool              507G  2.67T    96K  /rpool
rpool/ROOT        1.90G  2.67T    96K  /rpool/ROOT
rpool/ROOT/pve-1  1.90G  2.67T  1.90G  /
rpool/data          96K  2.67T    96K  /rpool/data
rpool/var-lib-vz   505G  2.67T   505G  /var/lib/vz
root@bilbo:~# df -h

I've already tried refreshing the storage view and restarting the node, but the issue persists.

Has anyone else encountered this problem? Any suggestions on how to get PVE to display the correct used space?

Thanks in advance!
 
Thanks for your response! I read through the discussion, but that case refers to LVM disks, while my setup uses ZFS.

My VMs are stored in rpool/var-lib-vz, but PVE seems to only account for the space used in rpool/ROOT. I didn’t manually configure this—PVE set it up this way by default.

If this is the issue, what would be the best approach? Should I move the VMs to a different directory, or is there a way to configure PVE to properly recognize and report the usage of rpool/?

I’d appreciate any guidance on this!
 
Thanks for your response! I read through the discussion, but that case refers to LVM disks, while my setup uses ZFS.

My VMs are stored in rpool/var-lib-vz, but PVE seems to only account for the space used in rpool/ROOT. I didn’t manually configure this—PVE set it up this way by default.

If this is the issue, what would be the best approach? Should I move the VMs to a different directory, or is there a way to configure PVE to properly recognize and report the usage of rpool/?

I’d appreciate any guidance on this!
I mean, it shows usage of the root file system (correctly). So you should have plenty space for OS updates and stuff.
Additionally, you have ZFS, so you should look to the ZFS storages to see the usages.

As i didn't find a posting explaining it, I wrote one:


hope it helps
 
Wow, thanks @sdettmer for the tutorial!

I just still wonder if there's a way to show in the 'summary' tag of the nodes the HD space used in '/rpool' instead of '/'.