[ubuntu-za] Filesysytem >Root
Quintin van Rooyen
quintin.vanrooyen at gmail.com
Mon Aug 29 10:23:42 UTC 2011
On 29 August 2011 12:14, Bill Cairns <cairnsww at gmail.com> wrote:
> On Mon, Aug 29, 2011 at 7:47 AM, Raoul Snyman
> <raoul.snyman at saturnlaboratories.co.za> wrote:
> > On Mon, 29 Aug 2011 07:34:37 +0200, Bill Cairns wrote:
> >> Would appreciate your help.
> >
> > Please provide us with more details, like what your partition table looks
> > like. We can't help you much with very little information.
>
> I am not sure how to do that.
> >
> > Some things you can do:
> >
> > 1. Check how much space you are using:
> > - Open Terminal
> > - Type in "df -Th" (without the quotes) and press enter
> > This should show you the different file systems, and how much they are
> > used.
>
> bill at Lucy:~$ df -Th
> Filesystem Type Size Used Avail Use% Mounted on
> /dev/sda1 ext4 9.2G 8.1G 624M 94% /
> none devtmpfs 990M 328K 990M 1% /dev
> none tmpfs 994M 140K 994M 1% /dev/shm
> none tmpfs 994M 204K 994M 1% /var/run
> none tmpfs 994M 0 994M 0% /var/lock
> none tmpfs 994M 0 994M 0% /lib/init/rw
> /dev/sda6 ext4 138G 50G 81G 38% /home
> /dev/sdb1 ext4 459G 200G 236G 46% /media/Thomas
> bill at Lucy:~$
>
>
Try this:
cd /
sudo du -sh *
This should spit out the disk usage of each directory in /
If you want to get fancy you can do:
du -sh | grep G
This will spit out the lines that has a G in it, and this output will
include the dirs that use up gigs of space.
You can then cd into these dirs to and do the same in order to find the
culprit.
In order to look for hidden files you can do:
du -sh .* and this will list all files/directories with the "dot" (.) in
front that are hidden.
Nasty I know, but it works for me :)
> > 2. I think Ubuntu has this "trash" folder, like Windows' recycle bin.
> Make
> > sure you've emptied the trash.
>
> That gave me 48 megs
> > 3. Clear out old cached packages with "sudo apt-get clean"
> >
> >
>
> I did that and then df again:
>
> bill at Lucy:~$ sudo apt-get clean
> [sudo] password for bill:
> bill at Lucy:~$ df -Th
> Filesystem Type Size Used Avail Use% Mounted on
> /dev/sda1 ext4 9.2G 7.9G 844M 91% /
> none devtmpfs 990M 396K 990M 1% /dev
> none tmpfs 994M 140K 994M 1% /dev/shm
> none tmpfs 994M 204K 994M 1% /var/run
> none tmpfs 994M 0 994M 0% /var/lock
> none tmpfs 994M 0 994M 0% /lib/init/rw
> /dev/sda6 ext4 138G 50G 82G 38% /home
> /dev/sdb1 ext4 459G 200G 236G 46% /media/Thomas
> bill at Lucy:~$
>
>
> Thanks - winning slowly!
>
> Bill
>
> --
> ubuntu-za mailing list
> ubuntu-za at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-za
>
--
Quintin van Rooyen
quintin.vanrooyen at gmail.com
The New SA Geek!
http://g33q.co.za
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-za/attachments/20110829/d7efd3e9/attachment.html>
More information about the ubuntu-za
mailing list