Gentoo Archives: gentoo-user

From: Francesco Talamona <francesco.talamona@××××.eu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Partitioning strategy...?
Date: Fri, 25 Nov 2011 19:05:12
Message-Id: 201111252002.50455.francesco.talamona@know.eu
In Reply to: [gentoo-user] Re: Partitioning strategy...? by Pandu Poluan
1 On Friday 25 November 2011, Pandu Poluan wrote:
2 > On Fri, Nov 25, 2011 at 20:53, Pandu Poluan <pandu@××××××.info> wrote:
3 > > I want to build a Gentoo server box whose structure is
4 > > highly-partitioned, like this:
5 > >
6 > > /
7 > > /boot
8 > > /usr
9 > > /tmp
10 > > /usr/portage ==> via NFS
11 > > /var
12 > > /var/lib/postgresql
13 > > /var/tmp
14 > > /var/log
15 > > /var/spool
16 > >
17 > > (Not all of them will reside on the same physical disk; I have
18 > > /dev/sda up to /dev/sdd)
19 > >
20 > > I've been searching high and low for recommended numbers... and
21 > > there are as many number as search-hits.
22 > >
23 > > So. Care to share your partitioning strategy?
24 > >
25 > > (And while we're at it, am I overdoing the partitioning?)
26 >
27 > I also wonder if /var/tmp can be shared between boxen (via NFS),
28 > assuming I ensure that no two boxen perform emerge at the same
29 > time...
30 >
31 > Rgds,
32
33
34 If you want to mount /var/tmp/portage over NFS you can set in
35 /etc/make.conf for every machine:
36
37 PORTAGE_TMPDIR=/var/tmp/<hostname>
38
39 So you won't have to worry about concurrent emerge across different
40 machines.
41
42 Disclaimer: this is an untested idea.
43
44 HTH
45 Francesco
46
47
48 --
49 Linux Version 3.1.1-gentoo, Compiled #1 SMP PREEMPT Mon Nov 14 07:03:50
50 CET 2011
51 Two 1GHz AMD Athlon 64 X2 Processors, 4GB RAM, 4021.84 Bogomips Total
52 aemaeth