public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?
@ 2005-07-07 15:50 Jakub Krajcovic
  2005-07-08  5:46 ` Ow Mun Heng
  0 siblings, 1 reply; 3+ messages in thread
From: Jakub Krajcovic @ 2005-07-07 15:50 UTC (permalink / raw
  To: gentoo-user

Hi Guys,

the subject says it all, but i'll go into more detail now, if anyone 
would be interested in helping. I currently have my system installed on 
2 40GB IDE drives. They are in an LVM volumegroup, and the 2 drives are 
striped. What i need to do is transform this "striped disk cluster" 
into a mirror. (preferably using the most cheapest and painless 
method). I kind of know my way around LVM, so i don't really need a 
_totally_ detailed answer, but i need to know, if this that i am trying 
to accomplish is
a) possible
b) what are the steps that i should follow in order to do this?

I was thinking like this: use pvmove or something to move all of the 
pv's from one disk to the other, then reduce the volumegroup (remove 
the disk eg physical volume from it) add it as a mirror...

can someone confirm, if this is theright way to go, or if not, could 
anyone please suggest how i could accomplish this task...
thanks

jakub krajcovic

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?
  2005-07-07 15:50 [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2? Jakub Krajcovic
@ 2005-07-08  5:46 ` Ow Mun Heng
  2005-07-08  5:56   ` Colin
  0 siblings, 1 reply; 3+ messages in thread
From: Ow Mun Heng @ 2005-07-08  5:46 UTC (permalink / raw
  To: gentoo-user

On Thu, 2005-07-07 at 17:50 +0200, Jakub Krajcovic wrote:
> Hi Guys,
> 
> the subject says it all, but i'll go into more detail now, if anyone 
> would be interested in helping. I currently have my system installed on 
> 2 40GB IDE drives. They are in an LVM volumegroup, and the 2 drives are 
> striped. What i need to do is transform this "striped disk cluster" 
> into a mirror. (preferably using the most cheapest and painless 
> method). I kind of know my way around LVM, so i don't really need a 
> _totally_ detailed answer, but i need to know, if this that i am trying 
> to accomplish is
> a) possible
> b) what are the steps that i should follow in order to do this?
> 
> I was thinking like this: use pvmove or something to move all of the 
> pv's from one disk to the other, then reduce the volumegroup (remove 
> the disk eg physical volume from it) add it as a mirror...

Seems to me the best way to do this would be a third Disk. Is this an
option??

> 

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
98% Microsoft(tm) Free!! 
Neuromancer 13:46:15 up 21:42, 7 users, load average: 1.93, 1.68, 1.21 


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?
  2005-07-08  5:46 ` Ow Mun Heng
@ 2005-07-08  5:56   ` Colin
  0 siblings, 0 replies; 3+ messages in thread
From: Colin @ 2005-07-08  5:56 UTC (permalink / raw
  To: gentoo-user

Ow Mun Heng wrote:

>On Thu, 2005-07-07 at 17:50 +0200, Jakub Krajcovic wrote:
>  
>
>>Hi Guys,
>>
>>the subject says it all, but i'll go into more detail now, if anyone 
>>would be interested in helping. I currently have my system installed on 
>>2 40GB IDE drives. They are in an LVM volumegroup, and the 2 drives are 
>>striped. What i need to do is transform this "striped disk cluster" 
>>into a mirror. (preferably using the most cheapest and painless 
>>method). I kind of know my way around LVM, so i don't really need a 
>>_totally_ detailed answer, but i need to know, if this that i am trying 
>>to accomplish is
>>a) possible
>>b) what are the steps that i should follow in order to do this?
>>
>>I was thinking like this: use pvmove or something to move all of the 
>>pv's from one disk to the other, then reduce the volumegroup (remove 
>>the disk eg physical volume from it) add it as a mirror...
>>    
>>
>
>Seems to me the best way to do this would be a third Disk. Is this an
>option??
>
Personally, I'd just get two more disks and turn it into a RAID 0+1 
setup.  If you've got the space, the money and the Molex connectors, I'd 
go for it.

Or just get one more disk, backup your data, create a three-drive RAID 5 
volume and then copy it all back.

RAID 0+1 would be easier to setup, require much less overhead and have 
more fault-tolerance than a three-disk RAID 5 setup.  However, it's more 
expensive (you need two more disks instead of one more) and it's not as 
cool-sounding as "RAID 5."  :-P

--
Colin

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-07-08  6:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 15:50 [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2? Jakub Krajcovic
2005-07-08  5:46 ` Ow Mun Heng
2005-07-08  5:56   ` Colin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox