[CentOS] strange disk space calculation ext4 df and du

Tue Nov 4 08:43:48 UTC 2014
Peter Kjellström <cap at nsc.liu.se>

On Mon, 03 Nov 2014 16:53:05 +0100
Götz Reinicke - IT Koordinator <goetz.reinicke at filmakademie.de> wrote:

...
> df shows 9.4 GB free, 198GB used.
> 
> If I do "du -sch * | sort -h -r" on /, I just have close to 3.5GB
> used ....

Next thing to check is stuff hiding under mount points. That is for
example the /tmp directory on the root fs containing stuff but another
fs then mounted on /tmp hiding that.

/Peter