Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.
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 :) so drbd out of the question? :) cheers soffi On Fri, Apr 24, 2009 at 5:29 PM, Daniel Bourque <dbourque at weatherdata.com>wrote: > you're right. > > reading the man page on pvmove, it uses lv mirroring internally to > accomplish it. > > much faster and simpler thans 1 by 1 LV mirroring. > > Thanks > > Daniel Bourque > Sr. Systems Engineer > WeatherData Service Inc > An Accuweather Company > > > > > > Tom Brown wrote: > >> >> On Fri, 24 Apr 2009, Daniel Bourque wrote: >> >> Unfortunately the linux LVM implementation doesn't support PV mirrors. ( >>> every commercial unix does ... ) That's easiest way to migrate SANs >>> without downtime. >>> >>> I believe you can add a your new san's LUN as a PV to your VG , and use >>> lvconvert to convert the LVs to be mirrored across the PVs, then remove >>> >> >> 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. >> >> 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. >> >> -Tom >> >> the original PVs from the the VG, lvm automatically converts them back >>> to linear LVs. >>> >>> >>> Daniel Bourque >>> Sr. Systems Engineer >>> WeatherData Service Inc >>> An Accuweather Company >>> >>> >>> >>> >>> Kristinn Soffanias Runarsson wrote: >>> >>>> Is it at all possible to do a local sync (only one machine) with DRBD? >>>> >>>> for example /dev/sda1 --> /dev/sdb1 >>>> >>>> I am migrating many many Linux boxes between SAN arrays and I really >>>> like the "in the middle" positioning of the DRBD driver in the layer. >>>> So I don't have to re-init my filesystem like I would have to do with >>>> LVM (pvcreate) or Linux Software Raid (mdadm --create) >>>> >>>> I've tried running DRBD locally (with different ports on localhost) >>>> but to no avail... >>>> >>>> any suggestions ? >>>> >>>> best regards, >>>> soffi >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> drbd-user mailing list >>>> drbd-user at lists.linbit.com >>>> http://lists.linbit.com/mailman/listinfo/drbd-user >>>> >>>> _______________________________________________ >>> drbd-user mailing list >>> drbd-user at lists.linbit.com >>> http://lists.linbit.com/mailman/listinfo/drbd-user >>> >>> >> ---------------------------------------------------------------------- >> tbrown at BareMetal.com | Drive thy business, or it will drive thee. >> http://BareMetal.com/ | - Benjamin Franklin >> web hosting since '95 | >> >> >> >> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20090424/4622ed7b/attachment.htm>