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

Fred Roller froller at tnclimited.com
Fri May 29 19:33:32 UTC 2009


On Fri, 2009-05-29 at 18:51 +0100, ubuntu-users-request at lists.ubuntu.com
wrote:
> Message: 5
> Date: Fri, 29 May 2009 22:47:53 +0600
> From: Faizan Kazi <faizan.s.kazi at gmail.com>
> Subject: Re: Root partition full...how should I free up space?
> To: "Ubuntu user technical support,     not for general discussions"
>         <ubuntu-users at lists.ubuntu.com>
> Message-ID:
>         <b00906860905290947o36b57b17u74e2ee802d82da81 at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> 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
> drwxr-xr-x   3 root root 4.0K 2009-05-05 01:25 boot
> lrwxrwxrwx   1 root root   11 2009-04-24 10:25 cdrom -> media/cdrom
> drwxr-xr-x  17 root root 4.2K 2009-05-29 22:41 dev
> drwxr-xr-x 160 root root  12K 2009-05-29 22:42 etc
> drwxr-xr-x   5 root root 4.0K 2009-04-26 03:38 home
> lrwxrwxrwx   1 root root   33 2009-04-24 10:36 initrd.img ->
> boot/initrd.img-2.6.28-11-generic
> drwxr-xr-x  20 root root 4.0K 2009-05-26 12:23 lib
> drwx------   2 root root  16K 2009-04-24 10:25 lost+found
> drwxr-xr-x   8 root root 4.0K 2009-05-29 22:41 media
> drwxr-xr-x   4 root root 4.0K 2009-05-26 12:18 opt
> dr-xr-xr-x 200 root root    0 2009-05-30 04:40 proc
> drwx------  25 root root 4.0K 2009-05-28 20:54 root
> drwxr-xr-x   2 root root 4.0K 2009-05-05 01:24 sbin
> drwxr-xr-x   2 root root 4.0K 2009-03-06 21:21 selinux
> drwxr-xr-x   2 root root 4.0K 2009-04-20 19:59 srv
> drwxr-xr-x  12 root root    0 2009-05-30 04:40 sys
> drwxrwxrwt  17 root root  20K 2009-05-29 22:42 tmp
> drwxr-xr-x  11 root root 4.0K 2009-05-26 12:23 usr
> drwxr-xr-x  18 root root 4.0K 2009-05-26 12:19 var
> lrwxrwxrwx   1 root root   30 2009-04-24 10:36 vmlinuz ->
> boot/vmlinuz-2.6.28-11-generic
> 
> Seems its pretty much emtpy!! I am SO confused... :s
> 
> >
> > Brian
> >
> 
> 
> Regards,
> Faizan.

Try 
sudo du -sh /*

This is disk usage command with -s = summery and -h human readable
options and should yield better stats similar to: 

froller at metis:~$ sudo du -sh /*
7.3M /bin
14M /boot
0 /cdrom
226G /Crypt
380K /dev
14M /etc
...

man du 
for more options.







More information about the ubuntu-users mailing list