[CentOS] strange disk space calculation ext4 df and du - SOLVED

Tue Nov 4 13:28:55 UTC 2014
Götz Reinicke - IT Koordinator <goetz.reinicke at filmakademie.de>

Am 04.11.14 um 14:11 schrieb Leon Fauster:
> Am 04.11.2014 um 10:40 schrieb Götz Reinicke - IT Koordinator <goetz.reinicke at filmakademie.de>:
>> Am 04.11.14 um 09:43 schrieb Peter Kjellström:
>>> 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.
>>
>> df -h
>>
>> Filesystem            Size  Used Avail Use% Mounted on
>> /dev/mapper/vg_richter2-lv_root
>>                      219G  198G  9,3G  96% /
>> tmpfs                  16G     0   16G   0% /dev/shm
>> /dev/sda1             477M   49M  403M  11% /boot
>> /dev/sdb              8,2T  1,1T  7,1T  14% /srv/files
>>
>> so I dont see any hidden fs under / beside /srv/files, which is not
>> included in my du calculation.
> 
> 
> hidden stuff not hidden fs - just unmount /boot + /srv/files and check 
> the emptiness in this directories.

@-) Thanks 1000000 kowtows; under /srv there was "hidden" stuff (195GB)

	case closed. /Götz

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82 420
E-Mail goetz.reinicke at filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt