My slice is often low on disk space so I have been tracking it very carefully. I am confused about what I am seeing and wonder if I am misinterpreting or misunderstanding...
I do a du command every week or so or when disk space is low. Here is the whole history:
https://spreadsheets.google.com/spreads ... oIAI#gid=1
The command I do is:
$ su
$ cd /
$ du | sort -n -k1,7 -r | head -n50
As you can see in the spreadsheet, it looks like I am doing well, the total space in use in root and other directories is maintained and actually shrinking sometimes.
And yet, when I do a df, I see the percentage free dropping. It used to float around 85-90 and now it seems to always be pushing over 90 going higher.
For example, right now df says:
/dev/xvda 16255928 15085160 510168 97% /
The two sets of data don't align. The amount of used space that df says doesn't match at all what du says.
Can someone help me interpret what might be going on, or where my disconnect is (which can be entirely my ignorance?)
Thanks a lot!