Gentoo Archives: gentoo-user

From: Colin <signofzeta@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?
Date: Fri, 08 Jul 2005 06:02:17
Message-Id: 42CE15A0.3030105@gmail.com
In Reply to: Re: [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2? by Ow Mun Heng
1 Ow Mun Heng wrote:
2
3 >On Thu, 2005-07-07 at 17:50 +0200, Jakub Krajcovic wrote:
4 >
5 >
6 >>Hi Guys,
7 >>
8 >>the subject says it all, but i'll go into more detail now, if anyone
9 >>would be interested in helping. I currently have my system installed on
10 >>2 40GB IDE drives. They are in an LVM volumegroup, and the 2 drives are
11 >>striped. What i need to do is transform this "striped disk cluster"
12 >>into a mirror. (preferably using the most cheapest and painless
13 >>method). I kind of know my way around LVM, so i don't really need a
14 >>_totally_ detailed answer, but i need to know, if this that i am trying
15 >>to accomplish is
16 >>a) possible
17 >>b) what are the steps that i should follow in order to do this?
18 >>
19 >>I was thinking like this: use pvmove or something to move all of the
20 >>pv's from one disk to the other, then reduce the volumegroup (remove
21 >>the disk eg physical volume from it) add it as a mirror...
22 >>
23 >>
24 >
25 >Seems to me the best way to do this would be a third Disk. Is this an
26 >option??
27 >
28 Personally, I'd just get two more disks and turn it into a RAID 0+1
29 setup. If you've got the space, the money and the Molex connectors, I'd
30 go for it.
31
32 Or just get one more disk, backup your data, create a three-drive RAID 5
33 volume and then copy it all back.
34
35 RAID 0+1 would be easier to setup, require much less overhead and have
36 more fault-tolerance than a three-disk RAID 5 setup. However, it's more
37 expensive (you need two more disks instead of one more) and it's not as
38 cool-sounding as "RAID 5." :-P
39
40 --
41 Colin
42
43 --
44 gentoo-user@g.o mailing list