Is it possible to see disk usage in summary ?

X4V1

New Member
Feb 5, 2024
15
6
3
Hello,

I have a mini PC with a nvme ssd of 500gb. I installed proxmox on it.
It seems Proxmox created 3 partitions: root, swap and data
As far as I understand the root and swap are used by the system and data is available for VM/CT:
1707304351376.png
Disk:
1707304527181.png
LVM:
1707304559018.png
LVM-Thin:
1707304596751.png
Then I created a VM (Debian) using the data LVM-Thin storage (32GB assigned),
1707304667243.png
I also turned on qemu-guest-agent (agent running, checked with systemctl status).

1707304694126.png
1707309741564.png
The problem is that I can't see the disk usage of the volume mounted.

1707309865524.png
It's currently showing the total size of disk mounted. Is there a way to display the disk space used instead?
I was expecting that with the agent installed and enabled it would check the disk space inside the vm but apparently it's not. Is it normal ?

df -H from the VM' shell:
1707309974223.png

Any idea ?
 
Last edited:
The file system usage on VM disks is currently not displayed in the web UI. There is an open bug for this feature: https://bugzilla.proxmox.com/show_bug.cgi?id=1373

You can however retrieve the usage with the following command:
qm agent <vmid> get-fsinfo
 
  • Like
Reactions: jbergen and X4V1
It might be fine if values could be retrieved from all Guest OSes and file systems, but—to give just one example—with truenas, it returns [] and the value can’t be retrieved, right?

Unless the QEMU agent—which isn’t provided by Proxmox—can always retrieve the value, adding a field to display the result in the Proxmox VE GUI will only create a real bug where no value is displayed.

But I don't think it's a necessary feature. I don't know if it's retrieved every time the screen is displayed or at regular intervals, but it just increases the server load for the sole purpose of displaying that information.
 
Last edited:
I know this is a necro post at this point but I think what the original poster was looking for was simply displaying the storage pools/datastore information on the summary page. The summary page shows total CPUs with usage, total RAM with usage but doesn't show anything other than the local PVE volumes for Proxmox. It would be great if it shows the pools managed by that specific server.