Dsik usage error

Steven Stern subscribed-lists at sterndata.com
Thu Jan 14 00:19:21 UTC 2010


On 01/13/2010 05:54 PM, david walcroft wrote:
> On 01/14/2010 09:20 AM, Sam Sharpe wrote:
>> 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
> 
> Can you delete these files and If so,how
> 
> david

Generally, rebooting will get rid of them, if they are open but deleted.

-- 

  Steve


More information about the users mailing list