Lee Marzke on 9 Aug 2006 22:49:50 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Debian df command reports wrong usage on root partition


I'm having a weird problem on a Debian 3.1 system. After moving Gb of
data from the root partition to /var ( and replacing those directories with symlinks )
my root partition is still full.


Is there some known problem with df ?   Are the LVM mounted
volumes causing it problems ?

I've also looked at / with a graphical disk analysis tool,  and all the disk
space is taken up by /home and /var -  so why is 14Gb still showing up
as used under / ?

df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda2/ 87857 19645 73171 22% /boot
/dev/sda3/ 17299036 14649436 1770848 90% /
/dev/mapper/sys-home 30963708 20959920 8430924 72% /home
/dev/mapper/sys-var 20970876 8716796 12254080 42% /var



If I add the size of all partitions ( excluding /boot, /home and /var ) I get 1.5Gb, however the df command above shows 14Gb in use.

Here are the sized reported by du for all directories except in /boot, /home, /var

/tmp           24
/bin        3112
/dev         852
/lib     128472
/root      4500
/etc    404432
/usr  1021440
Total  1.54  Gb

Also,  the disks are on a Adaptec 2400  IDE RAID controller,  HW RAID 1
that appear as SCSI drives  sda2, sda3 JBOD, and the rest as LVM

Thanks,

Lee Marzke
begin:vcard
fn:Lee Marzke
n:Marzke;Lee
email;internet:lee@marzke.net
tel;work:800 393 5217
tel;home:610 454 9354
version:2.1
end:vcard

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug