<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>The information shown from a nov 2007 post has been very useful - much appreciated.</DIV>
<DIV> </DIV>
<DIV>There are some circumstances with the case I am working on that complicates the process a bit.</DIV>
<DIV> </DIV>
<DIV>After having removed the master volume from the host and presenting just a snapshot, I have been able to change the physical uuid, and rename the volume group. If I then re-introduce the master volume there is no conflict (no-duplicates) found by the lvm utilities and can mount both sucessfully.</DIV>
<DIV> </DIV>
<DIV>The constraints I am operating under require the master volume not to disappear - i.e. production system and volume.</DIV>
<DIV> </DIV>
<DIV>If I filter out the snapshot and leave the accept (a) portion - "a|.*|" in the filter line, then a conflict is reported by pvscan, but not between sda and sdb but between sdb and the device-mapper string that appears to use the FC WWN.  </DIV>
<DIV>If I remove the accept portion then there is no conflict during pvscan.  </DIV>
<DIV>If I attempt to do a --</DIV>
<DIV>pvchange --uuid /dev/sda</DIV>
<DIV>Failed to read physical volume /dev/sda</DIV>
<DIV>0 physical volumes changed / 0 physical volumes not changed</DIV>
<DIV> </DIV>
<DIV>Is the filtered out device name (/dev/sda) supposed to be available to the lvm utilities?</DIV>
<DIV> </DIV>
<DIV>thanks,</DIV>
<DIV>mike<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: arial, helvetica, sans-serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Alasdair G Kergon <agk@redhat.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> LVM general discussion and development <linux-lvm@redhat.com><BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Friday, November 14, 2008 6:55:15 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [linux-lvm] Editing LVM 2 metadata<BR></FONT><BR>On Fri, Nov 14, 2008 at 06:37:51PM -0800, Michael Jensen wrote:<BR>> I have a need to edit the metadata on an LVM2 PV.<BR><BR>Why?<BR><BR>If you really have to, please do this using the supplied tools - it's *much*<BR>easier!<BR><BR>vgcfgbackup gives you a text file, edit it, vgcfgrestore puts it back.<BR><BR>If you need to edit the label too, careful use of pvcreate --restorefile --uuid<BR>plus vgcfgrestore lets you do that.<BR><BR>Alasdair<BR>-- <BR><A href="mailto:agk@redhat.com"
 ymailto="mailto:agk@redhat.com">agk@redhat.com</A><BR><BR>_______________________________________________<BR>linux-lvm mailing list<BR><A href="mailto:linux-lvm@redhat.com" ymailto="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</A><BR><A href="https://www.redhat.com/mailman/listinfo/linux-lvm" target=_blank>https://www.redhat.com/mailman/listinfo/linux-lvm</A><BR>read the LVM HOW-TO at <A href="http://tldp.org/HOWTO/LVM-HOWTO/" target=_blank>http://tldp.org/HOWTO/LVM-HOWTO/</A><BR></DIV></DIV></div><br>

      </body></html>