From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1E1suh-0004SC-9w for garchives@archives.gentoo.org; Sun, 07 Aug 2005 21:42:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j77LfXIT013068; Sun, 7 Aug 2005 21:41:33 GMT Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.205]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j77Lbpp7017509 for ; Sun, 7 Aug 2005 21:37:51 GMT Received: by nproxy.gmail.com with SMTP id l37so197028nfc for ; Sun, 07 Aug 2005 14:38:03 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=SD9vvP/MsQuAx+ZszS5ywJoNvylQOpWWgDxzRuPS6zRs8A16RbLZCIOWUCDtNMoVc0t4EIuwRSeMhKTkEelG5W0EPjqeqD5mKYEceFce/Zo5K7W/j8RT8jxfxG0mHzV+9DHjxru0UrFL92joyQ5zLFEWA4DRQXF2cROKPTNjkAk= Received: by 10.48.3.17 with SMTP id 17mr140119nfc; Sun, 07 Aug 2005 14:38:03 -0700 (PDT) Received: by 10.48.142.10 with HTTP; Sun, 7 Aug 2005 14:38:03 -0700 (PDT) Message-ID: Date: Sun, 7 Aug 2005 21:38:03 +0000 From: Fernando Meira To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] how to control portage space usage In-Reply-To: <62c482fd.82fd62c4@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2577_30504396.1123450683276" References: <62c482fd.82fd62c4@planet.nl> X-Archives-Salt: fc694eff-9377-49e3-9a01-b316dff89ec0 X-Archives-Hash: a7a4550c0c665f9a28131240beedce1c ------=_Part_2577_30504396.1123450683276 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Ok, so running through that forum I decided to try out some of the scripts= =20 to clean stale distfiles. The first one (distcleaner-0.0.2) returned a lot of errors. The second ( distmaint.py) was too weird. Finally, (distclean.sh) seemed to be ok, and= =20 freed 255 MB. I could then end my emerge (eclipse). After the emerge I=20 end-up with 805Mb free.=20 As you say Holly, this is far from enough if I want to compile something bi= g=20 and also maybe for smaller apps. Which means that I have a problem. In fact, I have a 38GB disk on my laptop. My mistake was that I assumed tha= t=20 gentoo was not so space-consuming. Now I'll have to make some modifications= ,=20 redo my partitions. What I would like was to clean once per all my windoz= =20 partition (9GB)... but from time to time I need it.. unless I find a=20 replacement to all the things I need from there. Anyway, thanks for the replies. If someone has a nice script to maintain distfiles under control let me=20 know. ;) Cheers, Fernando. On 8/7/05, motub@planet.nl wrote: >=20 > ----- Original Message ----- > From: Fernando Meira > Date: Sunday, August 7, 2005 10:22 pm > Subject: [gentoo-user] how to control portage space usage >=20 > > Hi, > > this is probably an old discussion, sorry for bring it up again. > > > > When I joined Gentoo (a few months ago) I got the idea that I could > > control > > very well the space that gentoo would require. That would be great > > because > > of my 4.6G available to it. Then, not so long time ago I got very > > surprised > > with how much less space available I had when I didn't have > > (almost) > > anything installed. Now it's completely full and I'm the middle of > > an emerge > > :( > > > > Well, tears apart, I would like to know if there's a good way to > > control the > > space usage of portage, since it is the reason for my problem. > > My /usr/portage and /var/tmp/portage/ take 2.2G which is almost > > half of the > > partition. > > > > What I have installed: > > - some (split) ebuilds of kde 3.4.1 > > - e16 > > - e17 > > - firefox > > - gimp > > - acrobat reader 7 > > - xmms, amsn (and maybe a few more small packages) > > > > What I've found until now: > > - clear /usr/portage/distfiles and /var/tmp/portage after an > > emerge, or > > regularly (using tmpreaper) > > - there are some users-made scripts (still buggy) that look for old > > ebuilds > > in portage tree and erases them ( > > http://forums.gentoo.org/viewtopic-t-3011-highlight- > > portage+space+usage.html) > > > > Any comments/ideas/scripts about this, or everyone has plenty space > > to > > spare... > > > > Cheers, > > Fernando >=20 > As far as I know, that's pretty much what you can do (assuming that the= =20 > cleaning of /var/tmp/portage occurs when you have a failed emerge > as well, since failed emerges leave the temporary work files there until= =20 > the emerge is either correctly completed, or you delete the files > yourself). >=20 > The thing is, it now depends to some degree on just what you are emerging= ,=20 > because as you fill your disk with emerged programs, and > assuming that those programs don't reside on another disk (/usr, /var,=20 > /tmp, or /opt on another disk or partition than / ), you will lose > the ability to compile certain programs that naturally take up more space= =20 > than you have available during the emerge process. >=20 > I'm thinking specifically of OpenOffice.org, which takes about 3GB just t= o=20 > emerge, but I suspect Mozilla and its ilk, and certain KDE > programs may not be much better. Not to mention X.org or= =20 > glibc. But from what you've said, even if /usr/portage/distfiles > and /var/tmp/portage are empty, you wouldn't have enough space to emerge= =20 > OO.o at this time, and possibly other high-end programs as well. > Of course, you could just use the openoffice-bin package for that case.= =20 > But not for every case that this might occur, and frankly, it's a > losing proposition (either you have to be constantly on the ball as to ho= w=20 > much space every program you want needs to emerge, or you have > to give up some stuff). >=20 > Less than 5GB is really not enough for a Gentoo install unless it's going= =20 > to be *very* minimal. If I was you, I'd look around for an old 5 > or 10 GB disk, slap it in the box and move /usr or /var (probably a bette= r=20 > choice) to that, and then mount it to the / partition. >=20 > Just my 0.02 > Holly > -- > gentoo-user@gentoo.org mailing list >=20 > ------=_Part_2577_30504396.1123450683276 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Ok, so running through that forum I decided to try out some of the scripts = to clean stale distfiles.
The first one (distcleaner-0.0.2) returned a lot of errors. The second (distmaint.py) was too weird. Finally, (distclean.sh) seemed to be ok, and freed 255 MB. I could then end my emerge (eclipse). After the emerge I end-up with 805Mb free.

As you say Holly, this is far from enough if I want to compile something big and also maybe for smaller apps. Which means that I have a problem.
In fact, I have a 38GB disk on my laptop. My mistake was that I assumed that gentoo was not so space-consuming. Now I'll have to make some modifications, redo my partitions. What I would like was to clean once per all my windoz partition (9GB)... but from time to time I need it.. unless I find a replacement to all the things I need from there.

Anyway, thanks for the replies.
If someone has a nice script to maintain distfiles under control let me kno= w. ;)

Cheers,
Fernando.

On 8/7/05, motub@planet.nl = <motub@planet.nl> wrote:
----- Original Message -----
From: Fernando Meira <fmeira@gmail.com>
Date: Sunday, August 7, 2005 = 10:22 pm
Subject: [gentoo-user] how to control portage space usage

> Hi,
> this is probably an old discussion, sorry for bring it= up again.
>
> When I joined Gentoo (a few months ago) I got th= e idea that I could
> control
> very well the space that gentoo= would require. That would be great
> because
> of my 4.6G available to it. Then, not so long time= ago I got very
> surprised
> with how much less space availabl= e I had when I didn't have
> (almost)
> anything installed. Now= it's completely full and I'm the middle of
> an emerge
> :(
>
> Well, tears apart, I would li= ke to know if there's a good way to
> control the
> space usage= of portage, since it is the reason for my problem.
> My /usr/portage= and /var/tmp/portage/ take=20 2.2G which is almost
> half of the
> partition.
>
>= What I have installed:
> - some (split) ebuilds of kde 3.4.1
>= - e16
> - e17
> - firefox
> - gimp
> - acrobat rea= der 7
> - xmms, amsn (and maybe a few more small packages)
>
>= What I've found until now:
> - clear /usr/portage/distfiles and /var= /tmp/portage after an
> emerge, or
> regularly (using tmpreaper= )
> - there are some users-made scripts (still buggy) that look for ol= d
> ebuilds
> in portage tree and erases them (
> http://forums.gen= too.org/viewtopic-t-3011-highlight-
> portage+space+usage.html)
>
> Any comments/ideas/s= cripts about this, or everyone has plenty space
> to
> spare...=
>
> Cheers,
> Fernando

As far as I know, that's pretty much what you can do (assuming that the cleaning of /var/tmp/portage occurs when you have a failed emerge
as well, since failed emerges leave the temporary work files there until the emerge is either correctly completed, or you delete the files
yourse= lf).

The thing is, it now depends to some degree on just what you are emerging, because as you fill your disk with emerged programs, and
assuming that those programs don't reside on another disk (/usr, /var, /tmp, or /opt on another disk or partition than / ), you will lose
the ability to= compile certain programs that naturally take up more space than you have a= vailable during the emerge process.

I'm thinking specifically of OpenOffice.org, which takes about 3GB just to emerge, but I suspect Mozilla and its ilk, and certain KDE
programs may = not be much better. Not to mention X.org or gl= ibc. But from what you've said, even if /usr/portage/distfiles
and /var/tmp/portage are empty, you wouldn't have enough space to emerge OO.o at this time, and possibly other high-end programs as well.
Of course, you could just use the openoffice-bin package for that case. But not for every case that this might occur, and frankly, it's a
losing proposition (either you have to be constantly on the ball as to how much space every program you want needs to emerge, or you have
to give u= p some stuff).

Less than 5GB is really not enough for a Gentoo install unless it's going to be *very* minimal. If I was you, I'd look around for an old 5
or 10 GB disk, slap it in the box and move /usr or /var (probably a better choice) to that, and then mount it to the / partition.

Just my 0.02<= br>Holly
--
gentoo-user@gen= too.org mailing list


------=_Part_2577_30504396.1123450683276-- -- gentoo-user@gentoo.org mailing list