Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Why is my gentoo installation (alone) using a massive 16 gb?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
crazedcougar
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 144
Location: GMT -5

PostPosted: Mon Sep 05, 2005 12:24 pm    Post subject: Why is my gentoo installation (alone) using a massive 16 gb? Reply with quote

With only 1.2 gigs free, its starting to annoy me. Calculating the volume of everything except my home directory, space used in installing gentoo has come up to 16 gb!! I check distfiles, it uses only 4.9 gb. Still alot, but gentoo should not need 11 gb either...its just too much.

The only idea i have is log files, so i post my use flags here: (I think i remember one of them told it to make a log of everything, it sounded like a good idea at the time).
USE="X gnome alsa -kde -qt -arts gtk gtk2 -ldap cups usb xv dvd cdr -ipv6 foomaticdb multilib dvdread mjpeg xvid"

Thanks very much
--crazedcougar
_________________
crazedcougar@gmail.com
Back to top
View user's profile Send private message
LucaSpiller
Apprentice
Apprentice


Joined: 10 Sep 2004
Posts: 188
Location: Censorship Land (aka England)

PostPosted: Mon Sep 05, 2005 12:41 pm    Post subject: Reply with quote

Hmm, very wierd. My installation and home directory used up around 8GB in total, and I have KDE, Gnome, XFCE, and bascially everything I need. KDirStat is a nice tool for graphically illustrating everything on your system and should help you find out the problems. Also if you have cancelled a load of emerges they would have left all their files behind in /var/tmp/portage/. YACleaner is a nice tool to clear out all this junk, old stuff in /usr/portage/distfiles/ and unneeded logs, so give this a spin.

This should free you up a few gigs of space. If not, making try cutting back on your CFLAGS. Super optimised for speed stuff is usually super big in size.
_________________
:: Luca :: Mac Fag :: Original Macbook, 2g RAM :: Closet Linux user (seasoned with salt and pepper) :: C2D E4400 @ 2ghz, 4g RAM (only 3.2g detected under 64bit...), Nvidia 9600GSO ::
Back to top
View user's profile Send private message
crazedcougar
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 144
Location: GMT -5

PostPosted: Mon Sep 05, 2005 1:05 pm    Post subject: Reply with quote

Those sound like exactly what i need! Ill probably do all the things you mentioned, starting with KDirStat, i wonder what is leeching my space. There is a program like it I found for windows called Spacemonger, and have been looking for a linux one every since...
_________________
crazedcougar@gmail.com
Back to top
View user's profile Send private message
BlackEdder
Advocate
Advocate


Joined: 26 Apr 2004
Posts: 2588
Location: Dutch enclave in Egham, UK

PostPosted: Mon Sep 05, 2005 1:27 pm    Post subject: Reply with quote

Code:
1.  cd /
2.  du -ms */
3.  cd <biggestdir>
4.  Goto 2
Back to top
View user's profile Send private message
syg00
l33t
l33t


Joined: 23 Aug 2004
Posts: 907
Location: Brisbane, AUS

PostPosted: Mon Sep 05, 2005 1:32 pm    Post subject: Reply with quote

check out tmpwatch - the ebuild builds a cron.daily (??? - I think) that looks after the Gentoo specfic (including distfiles) as well as /tmp.

Simple, and set-and-forget.
Back to top
View user's profile Send private message
crazedcougar
Tux's lil' helper
Tux's lil' helper


Joined: 16 Dec 2003
Posts: 144
Location: GMT -5

PostPosted: Mon Sep 05, 2005 1:36 pm    Post subject: Reply with quote

YACleaner worked wonders! From 1.2 gb free 4.5 in a matter of seconds! And so far my computer is still in one piece 8)

My cflags are thus:
CFLAGS="-O2 -march=k8 -pipe"
not to extreme?
_________________
crazedcougar@gmail.com
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Mon Sep 05, 2005 3:06 pm    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-359851-highlight-baobab.html

I find that a bit better than the other alternatives I've looked at for finding lost space.

Checked /usr/src lately? If you have tons of kernels lying around, those do take a bit of space.
Back to top
View user's profile Send private message
nevynxxx
Veteran
Veteran


Joined: 12 Nov 2003
Posts: 1123
Location: Manchester - UK

PostPosted: Mon Sep 05, 2005 3:28 pm    Post subject: Reply with quote

What's the difference between 16GB and a massive 16GB?

From your post you imply you havn't checked the size of the log files?

could I suggest
Code:
ls -l /var/log/


If they are big, install logrotate. Tis very useful for reducing the size of log files.
_________________
My Public Key

Wanted: Instructor in the art of Bowyery
Back to top
View user's profile Send private message
wescott
Apprentice
Apprentice


Joined: 18 Feb 2004
Posts: 183
Location: A giant shoe

PostPosted: Tue Sep 06, 2005 3:52 pm    Post subject: Reply with quote

Maybe you emerged stuff in the past and unmerged the package without the otherwise unused dependencies? Over time that can inflate a system.
Code:
emerge -p depclean

_________________
Sometimes you feel like a nut, sometimes you don't
Gentoo Forum Member #43303

Yoda of Borg are we: Futile is resistance. Assimilate you, we will.
Back to top
View user's profile Send private message
Taladar
Guru
Guru


Joined: 09 Oct 2004
Posts: 458
Location: Bielefeld, Germany

PostPosted: Tue Sep 06, 2005 4:53 pm    Post subject: Reply with quote

Try "du -x | sort -n" in / as root. That should show you the size of all directories, biggest last (only on your root partition). Then look with "ls -rSl" what files are biggest in that directory.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum