Proxmox GUI incorrectly reports size of ISO storage

alnash

Member
Feb 22, 2022
7
1
8
36
Hello,

I have an ISO storage set up as:

Code:
dir: iso
    path /opt
    content iso
    shared 1

du -hc /opt shows total of 1.2Gb:

Code:
1.2G    /opt/template/iso
1.2G    /opt/template
1.2G    /opt
1.2G    total

Meanwhile, web control panel shows like 900 Gb for ISO storage!

1645532696227.png


What can be the issue here and how to fix it?
 
Usage in this case refers to how much of the disk that the directory is placed on is used. If you had a disk with nothing else but your directory it would show that you can still use the entirety (minus 1,2G) of that disk as storage, but that's not the case here. Space on the physically disk is taken up by the rest of the system. Thus, you can only store an additional ~80GB, not the ~980GB that the disk would provide if it was empty.

Hope that makes sense. You can see the used and available space on the disks that are available to your system with df -h.
 
Usage in this case refers to how much of the disk that the directory is placed on is used. If you had a disk with nothing else but your directory it would show that you can still use the entirety (minus 1,2G) of that disk as storage, but that's not the case here. Space on the physically disk is taken up by the rest of the system. Thus, you can only store an additional ~80GB, not the ~980GB that the disk would provide if it was empty.

Hope that makes sense. You can see the used and available space on the disks that are available to your system with df -h.
Thanks!
In other words, the overall size of 982.39Gb actually is actually the total size of my root / partition (where /opt lives), and 903.47Gb used is actually used not only by /opt, but also by all other dirs under / , right?
 
Yes, basically.
 

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!