Fading Coder

One Final Commit for the Last Sprint

Diagnosing and Fixing Disk Space Mismatch Between df and du on CentOS 6.5

Filesystem capacity reports from df -h and du -sh can diverge, often because of deleted files that remain locked by running processes. On a CentOS 6.5 host, the root partition /dev/mapper/VolGroup-lv_root showed 44 GB used out of 50 GB, while the sum of du -sh / (excluding subvolume mounts) added up...