can somebody please explain to me how is this possible?

df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/md2        204G  170G   24G  88% /

du -ah / | sort -rh | head -20
121G    /
88G /var

So, essentially my / folder is 121GB large (running all as the root user), but my hard drive is 170GB full?

Running the Ubuntu 12.04.

marked as duplicate by Archemar, Kiwy, Kusalananda, Christopher, αғsнιη Mar 28 '18 at 16:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • this question has already been answered lots of time on so many website. – Kiwy Mar 28 '18 at 12:26

df counts metadata towards the total disk usage while du only looks at the plain disk usage.

Not the answer you're looking for? Browse other questions tagged or ask your own question.