« Return to Thread: Help! screwed-up root partition

Re: Help! screwed-up root partition

by Doug-11 :: Rate this Message:

Reply to Author | View in Thread

Tander Lepik wrote:

> Hey,
>
> you should go recursive.. It seems you have access to that partition,
> so do this:
>
> # cd /_partition
> # df -sh *
> # cd biggest_result_from_above_command
> # df -sh *
> etc
> <snip>

> Doug kirjutas:
>> <snip> Now 'df' shows the / partition as 100% full and I get warning
>> messages on boot about inadequate space in the partition.
Thanks for the suggestion, but '-s' is not an option recognised for 'df'
on my system.

The output from 'df' is as follows:
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda5             3.5G  3.5G   24K 100% /
/dev/hda1              92M   26M   61M  31% /boot
/dev/hda10             67G  4.1G   63G   7% /copies
/dev/hda6              40G   31G  9.0G  78% /home
/dev/hda11             20G   15G  5.0G  75% /photos
/dev/sdb1             1.4T   15G  1.4T   2% /photos_and_backups
/dev/hda9             9.8G   35M  9.8G   1% /tmp
/dev/hda7              40G  6.1G   33G  16% /usr
/dev/hda8             9.8G  248M  9.6G   3% /var

As you see,  partition /dev/hda5  mounted on / is  supposedly 100% full.
However, 'ls -aghS /' gives this result:

total 28K
drwxr-xr-x  14 root  16K 2009-07-07 13:26 dev/
drwxr-xr-x 115 root 7.6K 2009-07-07 14:55 etc/
drwxr-xr-x   2 root 5.6K 2009-03-07 11:28 sbin/
drwxr-xr-x  15 root 5.0K 2009-07-07 13:25 lib/
drwxr-xr-x   4 root 3.0K 2009-07-07 13:26 boot/
drwxr-xr-x   2 root 2.8K 2008-08-28 18:10 bin/
drwxrwxrwx  48 root 1.7K 2009-07-06 22:06 photos/
drwxrwxrwt  17 root 1.1K 2009-07-07 15:56 tmp/
drwx------  20 root 1008 2009-07-07 15:35 root/
drwxr-xr-x  25 root  672 2009-07-07 13:25 ./
drwxr-xr-x  25 root  672 2009-07-07 13:25 ../
drwxr-xr-x  19 root  464 2008-06-02 09:22 var/
drwxr-xr-x  15 root  368 2008-06-06 17:16 usr/
drwxr-xr-x   9 root  280 2009-07-07 13:26 media/
drwxr-xr-x   6 root  160 2008-05-31 12:11 home/
drwxr-xr-x   6 root  152 2009-02-12 15:15 opt/
drwxrwxrwx   6 root  144 2009-07-07 14:10 photos_and_backups/
drwxrwxrwx   5 root  112 2009-07-07 15:14 copies/
drwxr-xr-x   2 root   80 2008-06-02 18:11 initrd/
drwx------   3 root   72 2008-05-31 11:31 .kde/
drwxr-xr-x   2 root   48 2008-03-19 13:21 mnt/
lrwxrwxrwx   1 root   44 2008-07-16 15:35 liblibvixAllProducts.so ->
/usr/lib/vmware-vix/lib/libvixAllProducts.so*
-rw-r--r--   1 root    0 2009-07-07 13:25 .autofsck
dr-xr-xr-x 158 root    0 2009-07-07 13:24 proc/
drwxr-xr-x  12 root    0 2009-07-07 13:24 sys/
 
from which you see that less than 100K of / is actually being used.

Where is the rest tied up?

Doug


 « Return to Thread: Help! screwed-up root partition