The df and du commands provide different system information and I can not write to a partition that df says is 100% full. Which is correct and why does the system not allow any data writes to this partition?
Issue
- Unable to find which files are consuming disk space.
- Why is there a mismatch between df and du outputs?
-
The
dfandducommands provide different information and I can not write to a partition thatdfsays is 100% full. Which is correct and why does the system not allow any data writes to this partition? -
dfsays that the system is out of disk space on one of my partitions, butdushows plenty of space left. For example:# df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 7.9G 7.8G 0 100% /var # du -sh /var 50M var
Environment
- Red Hat Enterprise Linux (RHEL)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.