Re: [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?

2005-07-08 Thread Colin

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



[gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?

2005-07-07 Thread Jakub Krajcovic

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



Re: [gentoo-user] Is it possible to mirror 2 drives, that are currently striped in LVM2?

2005-07-07 Thread Ow Mun Heng
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