Q: Moving raid1 array to another host, safe?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I have two Linux boxes running kernel 2.4.21 having access to two
devices over fibre channel SAN.
What I'm trying to achive is host based mirroring with ability to
"move" the storage from one host to another.
On the firs host I created a raid1 array, put LVM on it, created a
filesystem. To move the storage to the second host I do the following
(on the first host):

deactivate volume group: 
	    vgchange -an dxvg
stop array: 
	    mdadm --misc --stop /dev/md0

Then on the second host:

assemble the array: 
	    mdadm --assemble /dev/md0 /dev/emcpowera  /dev/emcpowerb
activate the volume group: 
	    vgchange -ay dxvg

The following procedure seams to be working OK. 
However, I'm asking myself how safe is it what I'm doing?

Thanks for your time.

Regards,
Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux