Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr/portage
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
davermont
n00b
n00b


Joined: 07 Jan 2007
Posts: 15

PostPosted: Sun Feb 04, 2007 7:50 pm    Post subject: /usr/portage Reply with quote

Can anyone tell me what a good partition size for /usr/portage and /var would be on a desktop system? I have a 250GB drive for just Linux, so space is not an issue. I realize that this should be in the partitioning section, but the last two posts I've put there haven't gotten any responses.
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Sun Feb 04, 2007 7:53 pm    Post subject: Re: /usr/portage Reply with quote

The full portage tree takes 612mb on my ext3 partition. I'd say use about 2GB so it's safe for the future of our growing Portage tree.. (I use 2GB, anyway)
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Sun Feb 04, 2007 8:02 pm    Post subject: Reply with quote

Be careful.In /usr/portage are the distfiles included,they can grow very huge if not regulary deleted.
I recommend 5GB for /usr/portage and 5GB for /var minimum (who cares -- 250Gb available :wink:)
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
Phenax
l33t
l33t


Joined: 10 Mar 2006
Posts: 972

PostPosted: Sun Feb 04, 2007 9:51 pm    Post subject: Reply with quote

Doe John wrote:
Be careful.In /usr/portage are the distfiles included,they can grow very huge if not regulary deleted.
I recommend 5GB for /usr/portage and 5GB for /var minimum (who cares -- 250Gb available :wink:)


Yeah, I have my distfiles at a separate directory. It's probably smart to do this -- you could customize your filesystem for a bunch of files under 10kb, but with distfiles it really screws it up.

DISTDIR="/new/directory" in /etc/make.conf :)
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Mon Feb 05, 2007 5:55 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Other Things Gentoo.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Veldrin
Veteran
Veteran


Joined: 27 Jul 2004
Posts: 1945
Location: Zurich, Switzerland

PostPosted: Mon Feb 05, 2007 6:11 pm    Post subject: Reply with quote

From my experience:

Facts first:
Notebook:
  • /usr/portage: 2GB
  • /var/: 1.5GB
  • /var/tmp/: 6GB


Desktop:
  • /usr/portage: 5GB
  • /var/: 5GB
  • /var/tmp: 10GB


I also split /var/tmp of the tree, to be able to fast-wipe that partition if necessary, and to reduce fragmentation.

2GB for portage is a bit low, if you need the all distfiles there in... 5GB gives you some reserve.
1.5 GB is enough... especially if you keep cleaning your logfiles... Keep in mind that a lot of programs but there stuff in there (e.g. mysql)
The size for /var/tmp I calculated for emerging some very large packages (ut2004, and openoffice (source base) come to my mind). I haven't tried it on my notebook, but the 10GB on my desktop a enough...

2GB for /usr/portage, and 5GB for /var, if you want to save space for e.g. home, or data...
5GB and 10GB resp. if want to have a worry free life

Hope it helped.

cheers
V.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Feb 05, 2007 6:58 pm    Post subject: Reply with quote

Use the gparted cd for partioning. It can resize your partition, if you want to change it later. Don*t forget to make backups before, also reguarlly.

http://gparted.sourceforge.net/livecd.php

The CD also offers the following programs: cfdisk, fdisk, sfdisk, rsync,
grsync, grub, lilo, nano, ntfs-3g, partimage, testdisk, Thunar, Terminal,
and leafpad.
Back to top
View user's profile Send private message
skellr
l33t
l33t


Joined: 18 Jun 2005
Posts: 976
Location: The Village, Portmeirion

PostPosted: Wed Feb 07, 2007 2:08 am    Post subject: Reply with quote

/usr/portage uses a gross amount of inodes. I would recomend using the news or small fs-type option for ext*
Quote:
-T fs-type
Specify how the filesystem is going to be used, so that mke2fs
can choose optimal filesystem parameters for that use. The
filesystem types that are can be supported are defined in the
configuration file /etc/mke2fs.conf(5). The default configura-
tion file contains definitions for the filesystem types: small,
floppy, news, largefile, and largefile4

df -i anyone? :)
Back to top
View user's profile Send private message
dkostic
Apprentice
Apprentice


Joined: 24 May 2006
Posts: 220
Location: Madison, NJ

PostPosted: Wed Feb 07, 2007 2:15 am    Post subject: Reply with quote

It depends also on how much stuff you'd like to install. If you're like me and you love gnome with all the bells and whistles, /usr/portage can get pretty big. Currently on my desktop it's around 13 Gb. I'm bad about cleaning out stuff I don't need, though. :wink:
_________________
Toshiba Satellite A105 laptop, 1.7 mHz Celeron M, 100 Gb hard disk, 512 Mb RAM, 2006.0, 2.6.16-r7 kernel
Homemade desktop, 3.2+ mHz AMD Athlon 64 processor, 120 Gb hard disk, 1 Gb RAM, 2005.0, 2.6.14-r2 kernel
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