<div>Hi Paul,</div>
<div> </div>
<div>when you use &quot;external metadata&quot; option for DRBD resource (<a href="http://www.drbd.org/users-guide-emb/ch-internals.html#s-external-meta-data">http://www.drbd.org/users-guide-emb/ch-internals.html#s-external-meta-data</a>), you do not need to modify backed LVM at all.</div>

<div> </div>
<div>With regards,</div>
<div><br>Tino<br></div>
<div class="gmail_quote">2009/4/10 Paul <span dir="ltr">&lt;<a href="mailto:drbd@comm.it">drbd@comm.it</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi all,<br><br>I&#39;ve been away from drbd for some time now (last I was using version<br>6), but how I have a project that could be usefull to many people (I<br>
hope).<br><br>I&#39;m trying to use drbd to create a mirror of a running LVM volume to a<br>remote site over a wan connection.<br><br>The LVM volume holds the image of a windows system running in a xen<br>hvm host. My aim is to move this virtual machine accross data centers<br>
with no downtime. Just move it while running and then shut it down in<br>the old center and power it on in the new center.<br><br>To accomplish this I need to enslave the lvm holding the machine to<br>drbd and then replicate it to the new datacenter. However, there are a<br>
number of problems that I envision along the way.<br><br>If I &quot;enslave&quot; a physical lvm volume to drbd, will it overwrite any<br>region of the underlying lvm (possibly destroying the host partition<br>table there) ?<br>
<br>Is there a way to use an external &quot;map&quot; so to preserve the original<br>lvm volume?<br><br>if the original lvm volume cannot be preserved, should I just create a<br>new physical volume to the VG with another drbd device and then just<br>
pvmove the extents from the old PV to the new drbd PV which will then<br>simply replicate to the new datacenter? and then do the reverse<br>offloading the drbd PV to a local PV in a local san storage?<br><br>Any other ideas whould be really appreciated... as I have to move<br>
several hundred GB and they will take some days to replicate via WAN.<br><br>Cheers,<br><font color="#888888">Paul.<br>_______________________________________________<br>drbd-user mailing list<br><a href="mailto:drbd-user@lists.linbit.com">drbd-user@lists.linbit.com</a><br>
<a href="http://lists.linbit.com/mailman/listinfo/drbd-user" target="_blank">http://lists.linbit.com/mailman/listinfo/drbd-user</a><br></font></blockquote></div><br>