[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-lvm
Subject:    Re: [linux-lvm] Forcing the lvconvert copy to be on a different physical disk
From:       Alessandro MACUZ <alessandro.macuz () gmail ! com>
Date:       2013-07-02 15:56:43
Message-ID: CAFrGbuVz+aOLvesbCU691fzx7d5N9_qWm13RYpddz8dYxgtA0w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


>
> It looks as though you simply specify the PV from which you want to
> allocate the new extents, after the LV you are mirroring.  That is, if
> you have a logical volume "LV" on /dev/sda1 and you want to mirror it
> onto /dev/sdb1:
>
>   lvconvert -m1 LV /dev/sdb1
>
> Later I think you would do likewise to remove the local image from
> /dev/sda1, leaving the image on /dev/sdb1:
>
>   lvconvert -m0 LV /dev/sda1
>
> *I have not yet done this*.  Please try it out on a test machine
> before risking production data.


That's it Mark.

Thanks!

[Attachment #5 (text/html)]

<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div \
class="h5">It looks as though you simply specify the PV from which you want to</div> \
</div> allocate the new extents, after the LV you are mirroring.  That is, if<br>
you have a logical volume &quot;LV&quot; on /dev/sda1 and you want to mirror it<br>
onto /dev/sdb1:<br>
<br>
  lvconvert -m1 LV /dev/sdb1<br>
<br>
Later I think you would do likewise to remove the local image from<br>
/dev/sda1, leaving the image on /dev/sdb1:<br>
<br>
  lvconvert -m0 LV /dev/sda1<br>
<br>
*I have not yet done this*.  Please try it out on a test machine<br>
before risking production data.</blockquote><div><br></div><div>That&#39;s it \
Mark.</div><div><br></div><div>Thanks! </div></div>



_______________________________________________
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/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic