[CentOS] strange disk space calculation ext4 df and du
Leon Fauster
leonfauster at googlemail.com
Tue Nov 4 13:11:33 UTC 2014
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.
--
LF
More information about the CentOS
mailing list