[CentOS] strange disk space calculation ext4 df and du

Götz Reinicke - IT Koordinator goetz.reinicke at filmakademie.de
Tue Nov 4 08:05:55 UTC 2014


Am 03.11.14 um 19:54 schrieb Jonathan Billings:
> On Mon, Nov 03, 2014 at 04:53:05PM +0100, Götz Reinicke - IT Koordinator wrote:
>> in one server I do have a SSD raid 1 size 219GB.
>>
>> 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 ....
>>
>> Any hints, what's eating up the space?
> 
> Deleted files (check out the output of 'lsof' and look for deleted
> files)?  This happens a lot when your log rotation system rotates a
> log but the daemon logging to it isn't restarted or told to use the
> new log files.
> 
> Also, you could have sparse files (read the man page for 'du' under
> --apparent-size) that appear to be using more space than 'du' normally
> reports. 
> 

Hi, I checked your suggestions but still no clue what might be "wrong".

lsof reports just two DEL Files "sshd .... /dev/zero" and a du with
--apparent-size shows the same result.

	still wondering ... Regards . 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



More information about the CentOS mailing list