Disk usage error

William John Murray bill.murray at stfc.ac.uk
Fri Jan 22 09:35:23 UTC 2010


On Wed, 2010-01-20 at 07:49 +0100, 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.
>    Thanks,
>          Bill
>   

Thanks to everyone,
          I found it, using the idea of making a tar file - thanks
Mogens. [I don't know why booting of a USB system didn't have the same
affect. Maybe I was careless]
   The tar file was 60Gb, so I actually made it and inspected it and
found that the problem was:
   * I have a big USB disk
   * I Make a nightly backup to this disk of /home /etc for 2 machines.
   * As it is USB. gnome mounts it under /media WHEN I LOG IN
   * If the machine reboots without my log in the USB is not mounted
   * The autobackup rsync looks for and fails to find /media/backup  
          - so it makes a new one WHICH IS in /
   * I did not regard and of the /media/XXXX directories as part of / so
missed it.

So now I better fix the mounting of USB drives with /etc/fstab,
   Bill



-- 
Bill Murray                     ----                       ATLAS
STFC RAL at: Bat 161 1-14, CERN, 1211 Meyrin, Geneve 23, Switzerland  
     Tel:- CERN +41 22 7673028    or  RAL +44 (0)1235 446256
-- 
Scanned by iCritical.


More information about the users mailing list