Wrong display of disk size

debian10

Well-Known Member
Jul 30, 2019
36
1
48
39
Hello
we have a simple problem promox GUI show wrong disk space on disk on all of our servers.
Have you seen this problem?
Thanks



Proxmox Version : 6.4.9
GUI :
Usage

0.01% (79.75 MB of 1.01 TB)


df -h command :
/dev/nvme0n1p1 938G 77M 891G 1% /mnt/pve/NVMe1
 
I would not say, that this is wrong, but a misunderstanding:

The PVE uses KiB/MiB/GiB/TiB for 1024 based values and KB/MB/GB/TB for 1000 based values. see [0]

So, 1.01 TB = 1.01 TB

df -h uses 1024 based values (df -H uses 1000 based values)

So, 938G = 938 GiB = 1.01 TB

I hope, I could help :)

[0] https://en.wikipedia.org/wiki/Byte#Multiple-byte_units
 
Last edited: