View previous topic :: View next topic |
Author |
Message |
JHuizingh Tux's lil' helper
Joined: 05 Jul 2002 Posts: 100
|
Posted: Wed Apr 07, 2004 5:25 pm Post subject: usr partition too full |
|
|
My 4.4 GB /usr partition is almost full, and I'm not really sure what to remove. I've get rid of everything in the /usr/portage/distfiles directory fairly regularly, and it is empty right now. Looking at the disk utilization of the /usr directory, nothing major pops out at me:
Code: |
root@jhuizingh usr # df /usr
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hda6 4530236 4204416 95692 98% /usr
root@jhuizingh usr # du -sh *
145M X11R6
155M bin
0 doc
1.1M games
3.4M i686-pc-linux-gnu
58M include
0 info
423M kde
970M lib
2.9M libexec
76K local
16K lost+found
0 man
325M portage
79M qt
15M sbin
970M share
930M src
0 tmp
8.0K usr
|
Are there possibly some files somewhere that don't get cleaned up when I upgrade a programs or something? Any suggestions for clearing up some space? |
|
Back to top |
|
|
gt2000lts n00b
Joined: 27 Aug 2003 Posts: 13
|
Posted: Wed Apr 07, 2004 5:34 pm Post subject: get rid of old kernels |
|
|
Seems your src directory is very big. Perhaps you have old kernel sources laying around you can get rid of. One kernel takes less than 200mb on my machine. That will free up some space.
The other hog seems to be the share directory, but I am not sure what you could trim out of there. |
|
Back to top |
|
|
madchaz l33t
Joined: 01 Jul 2003 Posts: 993 Location: Quebec, Canada
|
Posted: Wed Apr 07, 2004 5:37 pm Post subject: |
|
|
you might also want to see what takes so much space in portage. I don't think the tree should take that much space _________________ Someone asked me once if I suffered from mental illness. I told him I enjoyed every second of it.
www.madchaz.com A small candle of a website. As my lab specs on it. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Wed Apr 07, 2004 6:02 pm Post subject: |
|
|
There is also a thread in the FAQ Forum that discusses what can be removed.
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
wishkah Guru
Joined: 09 May 2003 Posts: 441 Location: de
|
Posted: Wed Apr 07, 2004 6:17 pm Post subject: |
|
|
Something I do with old kernel sources I want to keep: "make clean" in them. I never checked how much space it actually frees, but I guess it's not just a few bytes _________________ if only I could fill my heart with love... |
|
Back to top |
|
|
JHuizingh Tux's lil' helper
Joined: 05 Jul 2002 Posts: 100
|
Posted: Thu Apr 08, 2004 12:08 am Post subject: |
|
|
Thanks for the tips, I was able to free up half a Gig from the kernel sources. |
|
Back to top |
|
|
DarrenM l33t
Joined: 25 Apr 2002 Posts: 653 Location: Sydney, Australia
|
Posted: Thu Apr 08, 2004 3:12 am Post subject: |
|
|
You can also move stuff to another partition and put a symbolic link in it's place.
mv /usr/kde /big_partition/
ln -sf /big_partition/kde /usr/kde |
|
Back to top |
|
|
|