Created
November 30, 2015 02:26
-
-
Save tqyq/36080f3d9efad8c9332a to your computer and use it in GitHub Desktop.
linux find lost disk space
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In my case the df -h and du -sh mismatched by about 50% of the hard disk size. | |
This was caused by nginx keeping large log files in memory which had been deleted from disk. | |
The situation was then resolved by restarting nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment