Full root-filesystem and difference between du and df

steff123

Member
Aug 1, 2020
55
2
13
41
Hey, one server runs occasionally to a 100% full root-filesystem and after a restart all is fine again. Currently it is the state but I have no chance to analyze it, because there is a big difference of 5G between du and df

Bash:
#df -h | grep pve-root
/dev/mapper/pve-root               22G     22G     0  100% /

Bash:
#du -shx /
17G    /

Any ideas?
 
possibly something got mounted over a directory that contains the missing 5G? you could bind-mount / somewhere else and check the usage there..
 
Forgotten to mention that I have tried this trick before

du -shx /mnt/data/root 17G /mnt/data/root
 

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!