1 |
Andrei Slavoiu posted |
2 |
<20060217161218.13280.qmail@×××××××××××××××××××××××.com>, excerpted below, |
3 |
on Fri, 17 Feb 2006 08:12:18 -0800: |
4 |
|
5 |
> --- Peter Humphrey <prh@××××××××××.uk> wrote: |
6 |
>> [T]his box gets treated pretty much as a development machine would, |
7 |
>> with partitions moving up and down and being copied between disks far |
8 |
>> more often than lots of people would find comfortable! |
9 |
|
10 |
> Did you ever consider LVM? I never worked with it but from what I know |
11 |
> it was designed for exactly this purpose. Have a look here and see if ti |
12 |
> would help you http://www.gentoo.org/doc/en/lvm2.xml |
13 |
|
14 |
lvm2 is a pretty neat solution. I use it here for my non-root raid-6 |
15 |
partitions. The biggest catch with it is that it requires an |
16 |
initramfs/initrd if system-root is to be lvm. I prefer the simplicity of |
17 |
avoiding an initrd, so I don't use lvm for my root partitions at all. |
18 |
|
19 |
I have only /boot on raid-1, since neither lilo nor grub can read other |
20 |
raid forms, so only one partition there to worry about and no need for |
21 |
lvm. I have two partitions on raid-0, /tmp (with /var/tmp a symlink to |
22 |
it) and a shared "stryper" partition containing ccache, the portage tree |
23 |
and distdir, and /usr/src, and it's simpler just to manage that as raid-0 |
24 |
partitions directly. However, the raid-6 has quite a few separate volumes |
25 |
on it, with a working and a backup copy of most of them, so other than the |
26 |
root and backup-root partitions (which include /var minus /var/log and |
27 |
/var/tmp and /usr minus the portage tree, /usr/local, and /usr/src, thus, |
28 |
the roots contain everything portage usually merges to, keeping each |
29 |
portage database, the one on working and the one on backup, in sync with |
30 |
what's actually on that partition, a lesson I learned the hard way), I |
31 |
keep the rest of my redundancy needing data in lvm2 volumes in one big |
32 |
raid-6 partition. |
33 |
|
34 |
-- |
35 |
Duncan - List replies preferred. No HTML msgs. |
36 |
"Every nonfree program has a lord, a master -- |
37 |
and if you use the program, he is your master." Richard Stallman in |
38 |
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html |
39 |
|
40 |
|
41 |
-- |
42 |
gentoo-amd64@g.o mailing list |