<?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: Fix/Clean VG00 with missing PV's in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210681#M629980</link>
    <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;Move or delete /etc/lvmtab &amp;amp; run vgscan -av to see if that cleans it up. I would have thought vgreduce -f would have done it, but...&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
    <pubDate>Fri, 05 Mar 2004 10:46:25 GMT</pubDate>
    <dc:creator>Jeff Schussele</dc:creator>
    <dc:date>2004-03-05T10:46:25Z</dc:date>
    <item>
      <title>Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210680#M629979</link>
      <description>VG00 used to have 3 mirrors (3-way).. System was reconfigured as a vPar so the 3rd Mirror dropped from the config (and will serve as bootdisk of new vPar). We did not use lvreduce, vgreduce prior to booting the old nPar (which is now a vPar) - now with just the 2 disks.&lt;BR /&gt;&lt;BR /&gt;How do I clean up? Already I did an lvreduce -m 1 for each LVOL. And attempted to do a "vgreduce -f /dev/vg00" - to do avail...&lt;BR /&gt;&lt;BR /&gt;Help..!&lt;BR /&gt;</description>
      <pubDate>Fri, 05 Mar 2004 10:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210680#M629979</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-05T10:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210681#M629980</link>
      <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;Move or delete /etc/lvmtab &amp;amp; run vgscan -av to see if that cleans it up. I would have thought vgreduce -f would have done it, but...&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Fri, 05 Mar 2004 10:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210681#M629980</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2004-03-05T10:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210682#M629981</link>
      <description>Nelson,&lt;BR /&gt;&lt;BR /&gt;Check your last message where I mentioned about cleaning up the original system also if you wanted to use any of these procedures. It's not difficult but it is more easy if you can add an extra disk in place of the missing mirror. Once the disk is added do&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n vg00 /dev/rdsk/cxtydz&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;&lt;BR /&gt;This will try to sync the mirrors. Once the mirrors are sync'ed, you can do a 'lvreduce -m 1 /dev/vg00/lvol1 /dev/dsk/cxtydz'. Repeat this for all the logical volumes. Once the LVs are reduce, do a 'vgreduce vg00 /dev/dsk/cxtydz' and the things will be clean. You can take out that disk if you want to.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 05 Mar 2004 10:47:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210682#M629981</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-03-05T10:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210683#M629982</link>
      <description>Nelson,&lt;BR /&gt;&lt;BR /&gt;When you are done with Sri's instructions a good test of emptiness would be the pvcreate command.&lt;BR /&gt;&lt;BR /&gt;pvcreate -f /dev/rdsk/c1t1d0&lt;BR /&gt;&lt;BR /&gt;If it works,you have a clean disk.  In practice , there is still data structures on the disk.&lt;BR /&gt;&lt;BR /&gt;If its important to clean the disk, take the additional steps of creating a dummy volume group,logical volume and empty filesystem on the entire disk.  This will leave nothing behind.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 05 Mar 2004 11:16:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210683#M629982</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-03-05T11:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210684#M629983</link>
      <description>None of the solutions worked. We even had HP. The only way out of this was I took a GOlden Image of this vPar, installed the image and ignited the Vpar.&lt;BR /&gt;&lt;BR /&gt;We have another vpar exhibiting this behaviour. Instead of doing an Ignite re-install of its image, I am thinking of just doing a make_tape_recovery backup and recovering odd the tape (of course it must be an nPar boot and restored to the vPar's boot path.&lt;BR /&gt;&lt;BR /&gt;Do you think this will work as well as an image re-ignite?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2004 15:45:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210684#M629983</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-09T15:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210685#M629984</link>
      <description>Hi Nelson,&lt;BR /&gt;&lt;BR /&gt;I wonder why it didn't work. If you added another disk in place of 'taken out' disk, then the process is as simple as 'replacing a mirror disk'.&lt;BR /&gt;&lt;BR /&gt;There is one another way but will take a long time. That's why I didn't mention it in my previous message. You can manually reduce the mirrors on "lost disk" on the system and then use vgreduce -f to get the disk out of the VG.&lt;BR /&gt;&lt;BR /&gt;To do it, you will have to use -k option of lvreduce. Run&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 -k /dev/vg01/lvol1 /dev/dsk/cxtydz&lt;BR /&gt;&lt;BR /&gt;where cxtydz is the lost disk.&lt;BR /&gt;&lt;BR /&gt;Repeat the above for all the lvols. Once it is done, do&lt;BR /&gt;&lt;BR /&gt;vgreduce -f vg00.&lt;BR /&gt;&lt;BR /&gt;That should get the bad disk out making your vg00 clean.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Tue, 09 Mar 2004 16:20:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210685#M629984</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-03-09T16:20:45Z</dc:date>
    </item>
    <item>
      <title>Re: Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210686#M629985</link>
      <description>Sridhar Thanks.. will try.&lt;BR /&gt;&lt;BR /&gt;In the meantime I attach some info on where we are...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2004 16:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210686#M629985</guid>
      <dc:creator>Alzhy</dc:creator>
      <dc:date>2004-03-09T16:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Fix/Clean VG00 with missing PV's</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210687#M629986</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Looks to me like you already ran 'vgscan' command. That's isn't a good command in this circumstance. vgscan is to recreate lvmtab if it is corrupted or by mistake if it is deleted or if there is a mismatch of the PVs. Sometime it can be used to identify the possible PVs ( I run it only preview option) in a volume group if that information is lost. In your case, neither is the case. I rarely use vgscan on my systems.&lt;BR /&gt;&lt;BR /&gt;I would still suggest you can do the 'restore mirror' process. Put the disk, run the following.&lt;BR /&gt;&lt;BR /&gt;#vgcfgrestore -n vg00 /dev/rdsk/cxtydz&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.prev&lt;BR /&gt;#vgscan -v&lt;BR /&gt;&lt;BR /&gt;This 'vgscan' should identify the new disk as it has the vg00 information on it and put it back in /etc/lvmtab. Then do&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y vg00&lt;BR /&gt;&lt;BR /&gt;This may take a long time as it will try to sync the mirrors.&lt;BR /&gt;&lt;BR /&gt;Once the mirrors are sync'ed, you can reduce the mirrors and take out the disk.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Mar 2004 17:07:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/fix-clean-vg00-with-missing-pv-s/m-p/3210687#M629986</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-03-09T17:07:36Z</dc:date>
    </item>
  </channel>
</rss>

