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

Who is using up my root partition?



Hello,

My root partition is reported as full but I fail to identify the files
that are taking up all the space. /tmp and /var are symlinks to
/usr/local/{tmp,var} which are in a different file system just 1% used.

I use the command du -x to get a report on only the root partition and
it says that it is using less than 8 MB out of about 50 MB. So, why is
that df says something different from du?

I'd appreciate any hint. The machine is running slink with kernel
2.0.36.

-- 
Pedro I. Sanchez

# df
Filesystem         1024-blocks  Used Available Capacity Mounted on
/dev/sda1              46632   46632        0    100%   /
/dev/sda3            1981000  272001  1606585     14%   /usr
/dev/sda5             248847      65   235932      0%   /home
/dev/sda6            6179782   64679  5795010      1%   /usr/local

# cd /
# du -xs
7494	.
# ls -l
total 50
dr-xr-xr-x   3 root     root         1024 Sep 21  1999 amd
drwxr-xr-x   2 root     root         2048 Sep 20  1999 bin
drwxr-xr-x   2 root     root         1024 Sep 20  1999 boot
drwxrwsr-x   2 root     cdrom        1024 Feb  1  1999 cdrom
drwxr-xr-x   5 root     root         1024 Oct  5  1999 data
drwxr-xr-x   2 root     root        17408 Oct 26 06:48 dev
drwxr-xr-x  44 root     root         3072 Oct 26 08:41 etc
drwxrwsr-x   2 root     floppy       1024 Feb  1  1999 floppy
drwxrwsr-x   5 root     staff        1024 Sep 20  1999 home
drwxr-xr-x   2 root     root         1024 Feb  1  1999 initrd
drwxr-xr-x   4 root     root         2048 Sep 20  1999 lib
drwxr-xr-x   2 root     root        12288 Sep 15  1999 lost+found
drwxr-xr-x   2 root     root         1024 Feb  1  1999 mnt
dr-xr-xr-x   5 root     root            0 Oct 15 17:30 proc
drwx------   5 root     root         1024 Sep 23  1999 root
drwxr-xr-x   2 root     root         2048 Sep 20  1999 sbin
lrwxrwxrwx   1 root     root           14 Sep 20  1999 tmp ->
/usr/local/tmp
dr-xr-xr-x   3 root     root         1024 Sep 20  1999 users
drwxr-xr-x  17 root     root         1024 Oct  4  1999 usr
lrwxrwxrwx   1 root     root           14 Oct 12 14:13 var ->
/usr/local/var
lrwxrwxrwx   1 root     root           19 Sep 15  1999 vmlinuz ->
boot/vmlinuz-2.0.36

# find . -xdev -print | xargs ls -l |less
I doesn't show any files taking up any significant amount of space.


Reply to: