<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: PVG disk replace problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388921#M560772</link>
    <description>Thanks for the ideas... I'm carrying out the work tomorrow morning, so I'll let you know how it goes.&lt;BR /&gt;</description>
    <pubDate>Sun, 29 Mar 2009 22:07:12 GMT</pubDate>
    <dc:creator>Help 9</dc:creator>
    <dc:date>2009-03-29T22:07:12Z</dc:date>
    <item>
      <title>PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388915#M560766</link>
      <description>I have a problem with a group of disks I've been working with. &lt;BR /&gt;I have an L-class server with two FC10 arrays attached. For this explanation I'll call them FC10 A &amp;amp; FC10 B. All the disks are part of VG01.&lt;BR /&gt;There is one logical volume (lvol1) spanning 10 of the disks using PVG. FC10 A has all ten grouped in one PVG. FC10 B has all ten disks in another PVG. The two PVG's are mirrored I.E. FC10 A is mirrored with FC10 B. &lt;BR /&gt;The problem we had was a server powerdown due to an air conditioning problem in the datacentre. When the server was powered back up, there was a faulty disk. The disk was replaced but the vgcfgrestore wouldn't work (it turned out we had a ghost disk). Using the normal procedure to remove a ghost disk, we reduced the mirror, reduced the disk from the volume group, moved lvmtab, vgscan etc...&lt;BR /&gt;We added the disk back to the volume group and all looked ok apart from the /etc/lvmpvg. Vgdisplay and lvmtab looked fine.&lt;BR /&gt;PVG1&lt;BR /&gt;c6t0d0&lt;BR /&gt;c4t1d0&lt;BR /&gt;c4t2d0&lt;BR /&gt;c4t3d0&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;PVG2&lt;BR /&gt;c4t0d0&lt;BR /&gt;c6t1d0&lt;BR /&gt;c6t2d0&lt;BR /&gt;c6t3d0&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;So the first disk in the PVG was from the wrong array. I edited the lvmpvg file so they were in the correct order but it wouldn't let me lvextend due to lack of space. After trying various different settings, I decided to change the /etc/lvmpvg to the state it was in (above). I ran lvextend -m 1 /dev/vg01/lvol1 PGV2 and the logical volume synchronised. &lt;BR /&gt;So the current state of the system is the disks are mirrored but instead of FC10 A being a mirror image of FC10 B, we have nine disks in FC10 A + 1 disk in FC10 B mirrored to nine disks in FC10 B + 1 disk in FC10 A.&lt;BR /&gt;So if we have a failed disk all is ok, but if we lose a disk shelf, we lose our data. So our resilience has shortened. Other than that, it looks messy in the lvmtab.&lt;BR /&gt;Can any of you tell me a way I can transfer c6t0d0 with c4t0d0 so they are on appropriate sides of the mirror? Remember they are in a PVG, so not standard LVM mirroring. &lt;BR /&gt;My thoughts are to "fail" disk c6t0d0, but will the c4t0d0 disk flip over to the correct side of the mirror if I do this?&lt;BR /&gt;regards</description>
      <pubDate>Thu, 26 Mar 2009 21:54:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388915#M560766</guid>
      <dc:creator>Help 9</dc:creator>
      <dc:date>2009-03-26T21:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388916#M560767</link>
      <description>We have the same issue with mirrors over 2 array. The sollution is to create a new -m 2 mirror over new PVG3, reduce 1st two and re-create it again with lvextend.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Thu, 26 Mar 2009 21:59:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388916#M560767</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2009-03-26T21:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388917#M560768</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Lots of good stuff in here:&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf" target="_blank"&gt;http://www.docs.hp.com/en/7161/LVM_OLR_whitepaper.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I would suggest a disk to disk backup using dd to insure no data loss&lt;BR /&gt;&lt;BR /&gt;I think you plan is worth a try but hope you have a backup.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 26 Mar 2009 22:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388917#M560768</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-03-26T22:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388918#M560769</link>
      <description>Consider this:&lt;BR /&gt;&lt;BR /&gt;vgexport the volume group&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -s -m mapxx vgxx&lt;BR /&gt;&lt;BR /&gt;swap the both disks, adjust the PVG file and import them again.&lt;BR /&gt;&lt;BR /&gt;You'll need to allow the swapped disks to log on again using fcmsutil replace_dsk or just reboot the server.&lt;BR /&gt;&lt;BR /&gt;IMHO this should work. &lt;BR /&gt;&lt;BR /&gt;Make sure you have a backup.&lt;BR /&gt;&lt;BR /&gt;;-)</description>
      <pubDate>Fri, 27 Mar 2009 13:05:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388918#M560769</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-03-27T13:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388919#M560770</link>
      <description>Correction:&lt;BR /&gt;&lt;BR /&gt;You need to do a real vgexport (without -p):&lt;BR /&gt;&lt;BR /&gt;# vgexport -v -s -m mapxx vgxx</description>
      <pubDate>Fri, 27 Mar 2009 13:26:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388919#M560770</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-03-27T13:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388920#M560771</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can try this. Add one new LUN to both PVG. Just move the data from first disk to new LUN&lt;BR /&gt;PVG1 -&amp;gt;pvmove c6t0d0 --&amp;gt; new lun&lt;BR /&gt;PVG2 -&amp;gt;pvmore c4t0d0 --&amp;gt; new lun&lt;BR /&gt;&lt;BR /&gt;Now both c6t0d0 and c4t0d0 will be free. &lt;BR /&gt;Take vgcfgbackup&lt;BR /&gt;&lt;BR /&gt;edit lvmpvg and interchange the disks c6t0d0 and c4t0d0 to make it correct order.&lt;BR /&gt;&lt;BR /&gt;Now again move back the data from new luns to these disks.&lt;BR /&gt;&lt;BR /&gt;PVG1 -&amp;gt;pvmove new lun --&amp;gt;c4t0d0&lt;BR /&gt;PVG2 -&amp;gt;pvmore new lun --&amp;gt;c6t0d0&lt;BR /&gt;&lt;BR /&gt;Later you can remove both the new luns from lvmpvg file</description>
      <pubDate>Fri, 27 Mar 2009 13:50:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388920#M560771</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-27T13:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388921#M560772</link>
      <description>Thanks for the ideas... I'm carrying out the work tomorrow morning, so I'll let you know how it goes.&lt;BR /&gt;</description>
      <pubDate>Sun, 29 Mar 2009 22:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388921#M560772</guid>
      <dc:creator>Help 9</dc:creator>
      <dc:date>2009-03-29T22:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388922#M560773</link>
      <description>Any results so far?&lt;BR /&gt;&lt;BR /&gt;If I think about this - you should not have a problem even if a whole chassis fails, because you still have one side of the mirror available.&lt;BR /&gt;&lt;BR /&gt;(for 1 disk this is just the "other side of the mirror").</description>
      <pubDate>Wed, 01 Apr 2009 12:15:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388922#M560773</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-04-01T12:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388923#M560774</link>
      <description>Hi Torsten, &lt;BR /&gt;We've had to delay the operation until they have a full backup sorted. They have a secondary server building in event worst case scenario loss of data. &lt;BR /&gt;We have thought about a different approach, I was wondering what you thought I.E. would it work? &lt;BR /&gt;# lvchange -s n /dev/vg01/lvol1&lt;BR /&gt;Would this remove the PVG allocation policy?&lt;BR /&gt;If so, would this allow us to edit the lvmpvg table to the correct order?&lt;BR /&gt;Then if we did the above, re-allocating strict policy would be all that's needed?&lt;BR /&gt;# lvchange -s g /dev/vg01/lvol1&lt;BR /&gt;&lt;BR /&gt;We have a test system building to re-create the fault and try the various options. &lt;BR /&gt;&lt;BR /&gt;Please give any comments on the process above to say why it would/wouldn't work.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ewan</description>
      <pubDate>Wed, 01 Apr 2009 12:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388923#M560774</guid>
      <dc:creator>Help 9</dc:creator>
      <dc:date>2009-04-01T12:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: PVG disk replace problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388924#M560775</link>
      <description>"... Then if we did the above ..."&lt;BR /&gt;&lt;BR /&gt;Not sure what you want to do after disabling the strict policy.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As said before, as long as both disks in question are mirrored 1:1 (consider to check this with lvdisplay); you can "safely" loose one of the chassis.&lt;BR /&gt;&lt;BR /&gt;You have a problem if the disk in question is mirrored to a disk in the same chassis.</description>
      <pubDate>Wed, 01 Apr 2009 16:14:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvg-disk-replace-problem/m-p/4388924#M560775</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2009-04-01T16:14:53Z</dc:date>
    </item>
  </channel>
</rss>

