Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
usr partition too full
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
JHuizingh
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2002
Posts: 100

PostPosted: Wed Apr 07, 2004 5:25 pm    Post subject: usr partition too full Reply with quote

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
View user's profile Send private message
gt2000lts
n00b
n00b


Joined: 27 Aug 2003
Posts: 13

PostPosted: Wed Apr 07, 2004 5:34 pm    Post subject: get rid of old kernels Reply with quote

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
View user's profile Send private message
madchaz
l33t
l33t


Joined: 01 Jul 2003
Posts: 993
Location: Quebec, Canada

PostPosted: Wed Apr 07, 2004 5:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Apr 07, 2004 6:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
wishkah
Guru
Guru


Joined: 09 May 2003
Posts: 441
Location: de

PostPosted: Wed Apr 07, 2004 6:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
JHuizingh
Tux's lil' helper
Tux's lil' helper


Joined: 05 Jul 2002
Posts: 100

PostPosted: Thu Apr 08, 2004 12:08 am    Post subject: Reply with quote

Thanks for the tips, I was able to free up half a Gig from the kernel sources.
Back to top
View user's profile Send private message
DarrenM
l33t
l33t


Joined: 25 Apr 2002
Posts: 653
Location: Sydney, Australia

PostPosted: Thu Apr 08, 2004 3:12 am    Post subject: Reply with quote

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
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