Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]root partition growing up ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sat Dec 09, 2006 4:04 am    Post subject: [Solved]root partition growing up ? Reply with quote

Hi,

It's my first install of gentoo.
I was using OpenSuSE before and so, usually I setup my root partition (/) for ~10G (9.3G exactly)
After some use, it's look like that root partition (/) is growing up
At this time, I have ~7G of 9.3G occuped and i feel this could be "wrong" (it's really big 7G for only kde) so i check the folders in the root partition (/) and found :

/tmp : ~280M
/proc : ~2G 8O
/usr : ~ 4.8G
/var : ~ 1.2G 8O

others folders are "unimportant"

So is there something wrong ??

My packages are kde-meta, openoffice, gimp, amarok and some other stuff

Jjeje007


Last edited by Jjeje007 on Sun Dec 10, 2006 1:07 pm; edited 3 times in total
Back to top
View user's profile Send private message
thorpe
l33t
l33t


Joined: 09 May 2005
Posts: 618
Location: Sydney, Australia.

PostPosted: Sat Dec 09, 2006 4:27 am    Post subject: Reply with quote

What is a Mo? and go? They are not data storage measurements.

You might look at clear out your /usr/portage/distfiles directory.
_________________
Research before taking any advice from me. I'm still coming to grips with this myself.
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sat Dec 09, 2006 4:41 am    Post subject: Reply with quote

Hi,

I edited my post ... sorry for the "storage measurements"
Anyway, how i can clean up my distfiles directory ?

Thx for the reply,

Jjeje007
Back to top
View user's profile Send private message
richfish
Apprentice
Apprentice


Joined: 03 Mar 2006
Posts: 202
Location: Phoenix, AZ

PostPosted: Sat Dec 09, 2006 4:42 am    Post subject: Re: root partition growing up ? Reply with quote

Jjeje007 wrote:
Hi,
/proc : ~2Go 8O


/proc is a virtual filesystem and shouldn't take any disk space at all. Well, unless you made a backup of /proc at some point and restored it to a filesystem without proc mounted...but I can't think of any good reason you would want to do that! ;-)
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sat Dec 09, 2006 4:48 am    Post subject: Reply with quote

I just check the size with konqueror (right-click on /proc and properties)

Jjeje007

Sorry for my bad english :oops:
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Sat Dec 09, 2006 3:14 pm    Post subject: Reply with quote

For those wondering a gigaoctect is french for gigabyte.

And see what the sizes of /usr/portage/distfiles, /var/tmp/portage are. My guess is cleaning out the two of those will give atleast 1GB back, if not two

Here are the numbers from my system, no gnome or kde, but a nice working system on fvwm. I do have openoffice, gimp and some other large applications, but no games
Code:
8.7M   /bin
64M    /emul
12M    /etc
4.8G   /home
2.2M   /lib32
16M    /lib64
427M   /opt
280M   /root
6.1M   /sbin
5.1G   /usr
475M   /var


Code:
1.9G   /usr/portage/distfiles
0      /var/tmp/portage


So in my case I would get back 2 GB just by cleaning out my distfiles. And I cleaned out my /var/tmp/portage the other day and it was at about 1GB.

Also note /proc doesn't matter, even though it has a size, it is a virtual filesystem and isn't really on your harddisk.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sat Dec 09, 2006 4:50 pm    Post subject: Reply with quote

Hi,

Yes your right my /usr/portage/distfiles is 1.6G and /var/tmp/portage is ok (~300K)

So how i clean up /usr/portage/distfiles ? --> rm -rf /usr/portage/distfiles ? (and then mkdir after)

Thx for the reply,

Jjeje007

Note : Sorry for the "gigaoctet" term :wink:
Back to top
View user's profile Send private message
Insanity5902
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1228
Location: Fort Worth, Texas

PostPosted: Sat Dec 09, 2006 7:55 pm    Post subject: Reply with quote

no problems, about the term, just expanded my vocabulary a bit.

As far as cleaning out your system, if you don't plan on re-emerge anything you already have emerge, or don't mind re-downloading it incase a new revsision comes out, then just rm -rf /usr/portage/distfiles/*

I have seen a script that cleans out your distfiles of all old versions, but keeps the most recent tar of all the installed apps. If you are that worried about re-downloading the files you could use that.

The only ones that matter to me on my laptops are the ati-drivers and my wireless drivers, everything else I clear out.
_________________
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
Jjeje007
Tux's lil' helper
Tux's lil' helper


Joined: 29 Sep 2006
Posts: 142
Location: France, La Croix Valmer

PostPosted: Sun Dec 10, 2006 11:33 am    Post subject: Reply with quote

Hi,

Ok thanks, I don't care about re-downloading (I got an good connection) so i'll rm -rf /usr/portage/distfiles/*

See you,

Jjeje007
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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