View previous topic :: View next topic |
Author |
Message |
Jjeje007 Tux's lil' helper
Joined: 29 Sep 2006 Posts: 142 Location: France, La Croix Valmer
|
Posted: Sat Dec 09, 2006 4:04 am Post subject: [Solved]root partition growing up ? |
|
|
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
/usr : ~ 4.8G
/var : ~ 1.2G
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 |
|
|
thorpe l33t
Joined: 09 May 2005 Posts: 618 Location: Sydney, Australia.
|
Posted: Sat Dec 09, 2006 4:27 am Post subject: |
|
|
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 |
|
|
Jjeje007 Tux's lil' helper
Joined: 29 Sep 2006 Posts: 142 Location: France, La Croix Valmer
|
Posted: Sat Dec 09, 2006 4:41 am Post subject: |
|
|
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 |
|
|
richfish Apprentice
Joined: 03 Mar 2006 Posts: 202 Location: Phoenix, AZ
|
Posted: Sat Dec 09, 2006 4:42 am Post subject: Re: root partition growing up ? |
|
|
Jjeje007 wrote: | Hi,
/proc : ~2Go
|
/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 |
|
|
Jjeje007 Tux's lil' helper
Joined: 29 Sep 2006 Posts: 142 Location: France, La Croix Valmer
|
Posted: Sat Dec 09, 2006 4:48 am Post subject: |
|
|
I just check the size with konqueror (right-click on /proc and properties)
Jjeje007
Sorry for my bad english |
|
Back to top |
|
|
Insanity5902 Veteran
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Sat Dec 09, 2006 3:14 pm Post subject: |
|
|
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 |
|
|
Jjeje007 Tux's lil' helper
Joined: 29 Sep 2006 Posts: 142 Location: France, La Croix Valmer
|
Posted: Sat Dec 09, 2006 4:50 pm Post subject: |
|
|
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 |
|
Back to top |
|
|
Insanity5902 Veteran
Joined: 23 Jan 2004 Posts: 1228 Location: Fort Worth, Texas
|
Posted: Sat Dec 09, 2006 7:55 pm Post subject: |
|
|
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 |
|
|
Jjeje007 Tux's lil' helper
Joined: 29 Sep 2006 Posts: 142 Location: France, La Croix Valmer
|
Posted: Sun Dec 10, 2006 11:33 am Post subject: |
|
|
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 |
|
|
|