View previous topic :: View next topic |
Author |
Message |
davermont n00b
Joined: 07 Jan 2007 Posts: 15
|
Posted: Sun Feb 04, 2007 7:50 pm Post subject: /usr/portage |
|
|
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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Sun Feb 04, 2007 7:53 pm Post subject: Re: /usr/portage |
|
|
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 |
|
|
nikaya Veteran
Joined: 13 May 2006 Posts: 1471 Location: Germany
|
Posted: Sun Feb 04, 2007 8:02 pm Post subject: |
|
|
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 ) _________________ 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 |
|
|
Phenax l33t
Joined: 10 Mar 2006 Posts: 972
|
Posted: Sun Feb 04, 2007 9:51 pm Post subject: |
|
|
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 ) |
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Mon Feb 05, 2007 5:55 pm Post subject: |
|
|
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 |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Mon Feb 05, 2007 6:11 pm Post subject: |
|
|
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 |
|
|
Roman_Gruber Advocate
Joined: 03 Oct 2006 Posts: 3846 Location: Austro Bavaria
|
Posted: Mon Feb 05, 2007 6:58 pm Post subject: |
|
|
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 |
|
|
skellr l33t
Joined: 18 Jun 2005 Posts: 976 Location: The Village, Portmeirion
|
Posted: Wed Feb 07, 2007 2:08 am Post subject: |
|
|
/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 |
|
|
dkostic Apprentice
Joined: 24 May 2006 Posts: 220 Location: Madison, NJ
|
Posted: Wed Feb 07, 2007 2:15 am Post subject: |
|
|
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. _________________ 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 |
|
|
|