Root partition full...how should I free up space?

David Fox dfox94085 at gmail.com
Fri May 29 17:15:33 UTC 2009


On Fri, May 29, 2009 at 9:47 AM, Faizan Kazi <faizan.s.kazi at gmail.com> wrote:
> On Thu, May 28, 2009 at 10:46 PM, Brian McKee <brian.mckee at gmail.com> wrote:
>>
>> It seems like the folders in / add up to about 8G, but there really is 15G
>> used,
>> so, what's in / itself?
>>
>> Try   sudo ls -ahl / and let's see if there's something extra there.
>
> faizan at faizan-jaunty:~$ sudo ls -ahl /
> [sudo] password for faizan:
> total 108K
> drwxr-xr-x  20 root root 4.0K 2009-05-23 01:08 .
> drwxr-xr-x  20 root root 4.0K 2009-05-23 01:08 ..
> drwxr-xr-x   2 root root 4.0K 2009-04-24 10:37 bin

Well, that command isn't all that helpful because all it shows are the
sizes the directory entries take up, not the sizes of the directories
themselves.

A better command would be :

$ sudo du -c / | sort -nr | more

It can take a long time. The sort will show the biggest usage at the beginning.



-- 
thanks for letting me change the magnetic patterns on your hard disk.




More information about the ubuntu-users mailing list