Disk Free (df) & Reserved Block Count

May 18, 2019
231
15
38
Varies
an LXC container shows inconsistent information on available disk space.

Proxmox UI:
1626203874008.png

Code:
df -h
1626203918300.png

NGINX:
ncdu
1626203955161.png

While the amount of disk total and disk used is consistent, disk free is 5.3GB while it should be ~25GB (473-448). and in fact, the amount of free disk IS the 5.3GB because the machine halts when this indicator gets to 0, no matter how much disk space the other measures show it should be available.

Although the discrepancy is due to "Reserved block count", it is misleading to have the inflated free space be displayed, as the system will fail before way before the UI shows free space is getting scarce. The point of this post is twofold

a) Feedback: show the actual amount of space available to the container (disregard the reserved blocks)
b) Question: how do I create CTs that have a non default % of reserved blocks?
 
  • Like
Reactions: liddack

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!