Disk usage error

Rick Stevens ricks at nerd.com
Wed Jan 20 17:51:30 UTC 2010


On 01/19/2010 10:49 PM, William John Murray wrote:
>
>    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, but 98% full.
>     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.

As someone else said, have a look for ".*" files (files whose names
start with a dot).  Also keep in mind that du and df look at "sparse"
files differently. df shows what's been allocated and du shows what's
actually used.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer                      ricks at nerd.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-                 All generalizations are false.                     -
----------------------------------------------------------------------


More information about the users mailing list