Doug wrote:
> 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% /
[...]
> 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/
[...]
>
> from which you see that less than 100K of / is actually being used.
ls doesn't show the total sizes of directories recursively. Use e.g.
du -sxh /*
to show how much each directory takes space (note that this is slow).
--
Anssi Hannula
--
Anssi Hannula