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't support non-destructive import of a device into LVM (but Solaris SVM does :) and I'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"><<a href="mailto:dbourque@weatherdata.com">dbourque@weatherdata.com</a>></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'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't support PV mirrors. (<br>
every commercial unix does ... ) That's easiest way to migrate SANs<br>
without downtime.<br>
<br>
I believe you can add a your new san'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're using LVM, wouldn't pvmove suffice? It'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 --> /dev/sdb1<br>
<br>
I am migrating many many Linux boxes between SAN arrays and I really<br>
like the "in the middle" positioning of the DRBD driver in the layer.<br>
So I don'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'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 '95 |<br>
<br>
<br>
<br>
</blockquote>
</div></div></blockquote></div><br>