Yeah I could do pvmove, that is what I will be using on machines that are using LVM.  But most of them are just using plain devices.  And LVM doesn&#39;t support non-destructive import of a device into LVM (but Solaris SVM does :) and I&#39;ve had good results with that :)<br>
<br>so drbd out of the question? :)<br><br>cheers<br><br>soffi<br><br><div class="gmail_quote">On Fri, Apr 24, 2009 at 5:29 PM, Daniel Bourque <span dir="ltr">&lt;<a href="mailto:dbourque@weatherdata.com">dbourque@weatherdata.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">you&#39;re right.<br>
<br>
reading the man page on pvmove, it uses lv mirroring internally to accomplish it.<br>
<br>
much faster and simpler thans 1 by 1 LV mirroring.<br>
<br>
Thanks<div class="im"><br>
<br>
Daniel Bourque<br>
Sr. Systems Engineer<br>
WeatherData Service Inc<br>
An Accuweather Company<br>
<br>
<br>
<br>
<br>
<br></div><div><div></div><div class="h5">
Tom Brown wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
On Fri, 24 Apr 2009, Daniel Bourque wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Unfortunately the linux LVM implementation doesn&#39;t support PV mirrors. (<br>
every commercial unix does ... ) That&#39;s easiest way to migrate SANs<br>
without downtime.<br>
<br>
I believe you can add a your new san&#39;s LUN as a PV to your VG , and use<br>
lvconvert to convert the LVs to be mirrored across the PVs, then remove<br>
</blockquote>
<br>
If you&#39;re using LVM, wouldn&#39;t pvmove suffice? It&#39;ll just move the logical volume from the old physical volume to the new one... sda1 to sdb1 should be trivial.<br>
<br>
lvconvert seems to be for changing formats, although I suppose you _might_ be able to get there from here using this method, but I have used pvmove a fair bit for getting data off either small old drives, or failing drives that needed to be spared out.<br>

<br>
-Tom<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
the original PVs from the the VG, lvm automatically converts them back<br>
to linear LVs.<br>
<br>
<br>
Daniel Bourque<br>
Sr. Systems Engineer<br>
WeatherData Service Inc<br>
An Accuweather Company<br>
<br>
<br>
<br>
<br>
Kristinn Soffanias Runarsson wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Is it at all possible to do a local sync (only one machine) with DRBD?<br>
<br>
for example /dev/sda1 --&gt; /dev/sdb1<br>
<br>
I am migrating many many Linux boxes between SAN arrays and I really<br>
like the &quot;in the middle&quot; positioning of the DRBD driver in the layer.<br>
So I don&#39;t have to re-init my filesystem like I would have to do with<br>
LVM (pvcreate) or Linux Software Raid (mdadm --create)<br>
<br>
I&#39;ve tried running DRBD locally (with different ports on localhost)<br>
but to no avail...<br>
<br>
any suggestions ?<br>
<br>
best regards,<br>
soffi<br>
<br>
------------------------------------------------------------------------ <br>
<br>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">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>
<br>
</blockquote>
_______________________________________________<br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">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>
<br>
</blockquote>
<br>
----------------------------------------------------------------------<br>
tbrown@BareMetal.com   | Drive thy business, or it will drive thee.<br>
<a href="http://BareMetal.com/" target="_blank">http://BareMetal.com/</a>  | - Benjamin Franklin<br>
web hosting since &#39;95  |<br>
<br>
<br>
<br>
</blockquote>
</div></div></blockquote></div><br>