Gentoo Archives: gentoo-amd64

From: Richard Freeman <rich@××××××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap
Date: Wed, 01 Aug 2007 17:17:40
Message-Id: 46B0BFB7.8040301@thefreemanclan.net
In Reply to: Re: [gentoo-amd64] 2nd HDD for var, tmp, usr/portage, swap by Bernhard Auzinger
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Bernhard Auzinger wrote:
5 >
6 > Just for the record. I decided to go LVM2 :). It runs since 10 days and I'm
7 > very happy with it. The setup was very quick and easy. For a few seconds I
8 > thought of buying a few more harddisks. Not because of the space, just
9 > because (vg/lv)extend excites me so much :). That stuff is cool.
10 >
11
12 Hey - if you do get a few more drives be sure to check out mdadm... :)
13
14 Linux software RAID is great - you can create an array, resize it,
15 reshape it, add/remove drives, run a check - all while it is online I
16 believe.
17 Then you put lvm2 on top of the RAID to chop it into partitions.
18
19 Right now I have 6 hard drives:
20 1 mirrored boot partition
21 1 mirrored root partition
22 1 RAID-5 striped across the remaining space on 3 drives
23 1 RAID-5 striped across most of the space on 3 other drives
24
25 The two RAID-5 arrays are PVs in LVM2, and everything but root is under
26 LVM2. I think the only things left on my 1GB root are /bin, /sbin,
27 /etc, /lib, /lib64, and /root.
28
29 My drives aren't all the same size so I'm still not 100% allocated - I
30 could add more mirrored arrays to use some of the remaining space but I
31 don't want to disrupt seeking on the two big RAID-5s.
32
33 Works great - the only thing I would probably change is making /usr its
34 own partition so that it doesn't need to be symlinked/bind-mounted.
35 Some software doesn't like /usr as a symlink, although a bind-mount
36 seems to work OK...
37 -----BEGIN PGP SIGNATURE-----
38 Version: GnuPG v1.4.7 (GNU/Linux)
39 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
40
41 iD8DBQFGsL+zG4/rWKZmVWkRAp59AKC4NCiqT4kYGdpDxMq5pN+pSBk2IACgnQc0
42 QfGkOJXP0xRXhuSCIx5pynI=
43 =fRDY
44 -----END PGP SIGNATURE-----

Attachments

File name MIME type
smime.p7s application/x-pkcs7-signature