Re: Use lvcreart -m to make a mirror

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

 



The attached script (originally from Jun'ichi Nomura) is what I've been using to validate mirror volumes. You might be able to pull out things for use in your tests. It uses device mapper and is design to attack a specific bug.

 brassow

Attachment: mirror_177067.sh
Description: Binary data



On Jan 5, 2006, at 3:47 AM, Patrick Caulfield wrote:

Fang,Dongyu wrote:
Thanks your replay.
How can I mount the "original" (mimage_0) or the "mirror" (mimage_1)
single?
Because I want to verify it write/read data in both LV indeed.

Because of internal cacheing I don't know whether that's a sensible thing to do.

And how can I remove the mirror relation between the two LV(let the
"original" and "mirror" become two singe LV)?   (I use `lvconvert -m 0
vg1/mirror1`  then LVs become one.)

With current RPMs you currently can't. The code is in CVS but it needs lots of
testing.
--

patrick

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux