HD Space not adding up to real use

Proximate

Member
Feb 13, 2022
219
12
23
64
Maybe I'm missing something but here is what I see.

On the single vm installed on tihs proxmox server, this is the disk space usage.

df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 62G 0 62G 0% /dev
tmpfs 62G 0 62G 0% /dev/shm
tmpfs 62G 25M 62G 1% /run
tmpfs 62G 0 62G 0% /sys/fs/cgroup
/dev/mapper/centos-root 40G 27G 14G 67% /
/dev/mapper/centos-home 20G 33M 20G 1% /home
/dev/sda1 1014M 194M 821M 20% /boot
tmpfs 13G 0 13G 0% /run/user/0

This shows I'm using almost 30GB of space on this vm alone.

However, the proxmox GUI summary shows this.
/ HD space 0.58% (4.89 GiB of 836.00 GiB)
pve-manager/7.1-7/df5740ad

What am I not understanding?
 
Last edited:
Hi,
where is your VM disk stored? What you see in the Summary panel is just the usage of the / mount of your host. If you have other storages, you should check the storage usage by selecting the storage itself.
 
  • Like
Reactions: Proximate
Hi,
There are two SSD's and they are configured as ZFS.
I see that the rpool is 953GB with 31.45GB used.
The vm is stored on the local-zfs and shows a size of 68.72GB.

Ok, so if I understand this correctly...
What I'm seeing in the Summary is the proxmox host itself and it's / usage only.
The rest is a few other directories and then the ZFS storage.

On proxmox;
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 126G 0 126G 0% /dev
tmpfs 26G 1.8M 26G 1% /run
rpool/ROOT/pve-1 836G 4.8G 832G 1% /
tmpfs 126G 66M 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
rpool 832G 128K 832G 1% /rpool
rpool/ROOT 832G 128K 832G 1% /rpool/ROOT
rpool/data 832G 128K 832G 1% /rpool/data
/dev/fuse 128M 44K 128M 1% /etc/pve
tmpfs 26G 0 26G 0% /run/user/0
 
For disk usage with ZFS better use zpool list and especially zfs list.
Also keep in mind that zpool and zfs commands display capacity differently. zpool will show you the raw capacity which includes the parity data. The zfs command will show you the usable capacity where the parity is already subtracted. So for a half filled mirror of two 1TB disks zpool list will tell you that 1TB of 2TB are used. zfs list will tell you that 0.5TB of 1TB are used.
 
  • Like
Reactions: Proximate
Guess I have to learn a bit more about zfs then.
Thanks for all of the tips, noted and learning.
 

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!