Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
My free space is vanishing
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
a13x
Apprentice
Apprentice


Joined: 05 Jan 2005
Posts: 215

PostPosted: Fri Mar 11, 2005 4:15 pm    Post subject: My free space is vanishing Reply with quote

The free disk space on / is vanishing slowly but surely. I have no idea why. I deleted everything in /var/tmp/portage but I haven't touched /usr/portage/distfiles. This folder has maintained it's size of 1.3 GB since the last time I installed Gentoo.

Gentoo used to have about 3.5GB (including 1.3GB of sources) when I installed it, a month ago, but now it occupies 5.3GB !! WTF ??

Is there a way I can safely remove unneeded packages ? I must free some more disk space.
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: Fri Mar 11, 2005 4:18 pm    Post subject: Reply with quote

Process to get some insight in were ther space goes.
Code:
cd /
du -msh */
cd biggestdir
du -msh */
cd biggestdir
du-msh */
etc..

There are also programs available that make a "treeview" of your filesystem, but I don't know their names. Maybe search for them on the forum.
Back to top
View user's profile Send private message
slestak
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2003
Posts: 115

PostPosted: Fri Mar 11, 2005 4:27 pm    Post subject: Reply with quote

if you run kde, emerge filelight, its a nice graphical du, that you can delete files from, once you see where the space is.

Are you using ccache, that can take lots of space. Also consider the (going from memory here, check me) the /var/tmp place where portage does its work while installing, maybe a large emerge failed, (xorg, kde, etc) and left its work out there.
Back to top
View user's profile Send private message
Nard`
Apprentice
Apprentice


Joined: 23 Jan 2005
Posts: 250

PostPosted: Fri Mar 11, 2005 4:57 pm    Post subject: Re: My free space is vanishing Reply with quote

a13x wrote:
The free disk space on / is vanishing slowly but surely. I have no idea why. I deleted everything in /var/tmp/portage but I haven't touched /usr/portage/distfiles. This folder has maintained it's size of 1.3 GB since the last time I installed Gentoo.

Gentoo used to have about 3.5GB (including 1.3GB of sources) when I installed it, a month ago, but now it occupies 5.3GB !! WTF ??

Is there a way I can safely remove unneeded packages ? I must free some more disk space.



Uneeded? Define uneeded, packages that aren't used by another package (i.e. dependencies?).

Code:

emerge --sync
emerge gentoolkit
emerge -uDav world
emerge --newuse -uDav world
emerge -av depclean # CHECK THE PACKAGES
revdep-rebuild # If your systems broken... ;) This will only work if you haven't removed a really important package mindue


If you mean things you don't use, then cat /var/lib/portage/world would be a good place to start. Big window managers are a good thing to question, but certainly what BlackEdder said to do is the first thing.

And slestak, he already said he removed /var/tmp/portage :P
_________________
Programming is the process of putting bugs in.
Debugging is the process of attempting to take bugs out, doing an ugly hack, hitting your computer, then claiming insurance.
Back to top
View user's profile Send private message
a13x
Apprentice
Apprentice


Joined: 05 Jan 2005
Posts: 215

PostPosted: Sat Mar 12, 2005 8:39 pm    Post subject: Reply with quote

I couldn't find anything relevant. I think it's because portage installs all kinds of new stuff every time I do an "emerge --update --deep world".

Thx for your help anyway.
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: Sat Mar 12, 2005 10:52 pm    Post subject: Reply with quote

It replaces stuff only when upgrading. I have been running gentoo on a 5 gb partition for about 6 months now. After the first month of installing everything it has been pretty much the same size. A good place to check is /usr/src. If you have multiple kernel sources installed that will take up quite a lot of space, just deleted the not used/unneeded ones. Also du doesn't show hidden files, so a du -ms .[A-z]* in your home dir might give some more info.
Back to top
View user's profile Send private message
asiobob
Veteran
Veteran


Joined: 29 Oct 2003
Posts: 1375
Location: Bamboo Creek

PostPosted: Sun Mar 13, 2005 2:50 am    Post subject: Reply with quote

assuming your /var is in / how big is your logfile, eg /var/log/messages ?

once I had spinlock turn on in my kernel and in a very short time my logfile was no less than 37GB
Back to top
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Sun Mar 13, 2005 5:25 am    Post subject: Reply with quote

Empty out the /usr/portage/distfiles Also I frequently empty /var/tmp/portage
_________________
Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 17854

PostPosted: Mon May 23, 2005 4:39 pm    Post subject: Reply with quote

FAQ Forum.
_________________

Believing I had supernatural powers I slammed into a brick wall.
I said hey, is this my problem? Is this my fault?
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