Dsik usage error

Sam Sharpe lists.redhat at samsharpe.net
Wed Jan 13 23:20:38 UTC 2010


2010/1/13 William John Murray <bill.murray at stfc.ac.uk>:
>
>  Hello all,
>         Can anyone help me with a disk usage problem? I have a disk
> partition of 65GB in LVM; df says:
>
> /dev/dm-0             65570580  60494828   1744888  98% /
>
> However, if I use either du or Baobab they reckon the directories in it
> add up to 30Gb or so. As it is my root directory, and there are various
> others it is a little difficult to get the total, so I booted under
> liveUSB and saw exactly the same - 30Gb used.
>   So something is stealing half my disk. If I try to write more it is
> out of space.
>   Any ideas how I get my space back? fsck reports the disk is clean.

I often find that it's files which are deleted, that are still held
open. e.g. rotated logs where the owning process has not been
reloaded.

Try:

lsof | grep deleted

That should show up and deleted files still open.

--
Sam


More information about the users mailing list