<?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: Unable to remove non-existant pv from vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736352#M628672</link>
    <description>How about vg00? That is, if one of the root vg's pv is missed. How to remove the pv from the system configuration?&lt;BR /&gt;</description>
    <pubDate>Tue, 02 Dec 2003 20:22:12 GMT</pubDate>
    <dc:creator>Changchun Teng</dc:creator>
    <dc:date>2003-12-02T20:22:12Z</dc:date>
    <item>
      <title>Unable to remove non-existant pv from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736346#M628666</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;I am unable to remove a non-existant physical volume from a volume group.  Why do I need to remove a pv that does not exist you say?  Somewhere during the installation and configuration of an external disk array, the device table appears to have become corrupt.&lt;BR /&gt;&lt;BR /&gt;My system complains loudly that physical volume '/dev/dsk/c5t0d0' cannot be queried, or removed.  The physical disk/address truly does not exist, but I am unable to properly bring the system back to reality using vgreduce or vgremove.  &lt;BR /&gt;&lt;BR /&gt;'strings /etc/lvmtab' shows the "ghost" device.&lt;BR /&gt;'ioscan -C disk' returns the correct info.&lt;BR /&gt;&lt;BR /&gt;System:  HP-UX v11.0 will updated patches on rp5470 and A5272 external disk array.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;-Mark&lt;BR /&gt;&lt;BR /&gt;ctatmp2[225]$ vgdisplay /dev/vgext&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;vgdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;&lt;SNIP&gt;&lt;BR /&gt;&lt;BR /&gt;ctatmp2[226]$ pvdisplay /dev/dsk/c5t0d0&lt;BR /&gt;pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c5t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;pvdisplay: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;pvdisplay: Couldn't retrieve the names of the physical volumes&lt;BR /&gt;belonging to volume group "/dev/vgext".&lt;BR /&gt;pvdisplay: Cannot display physical volume "/dev/dsk/c5t0d0".&lt;BR /&gt;&lt;BR /&gt;ctatmp2[227]$ pvremove /dev/dsk/c5t0d0&lt;BR /&gt;pvremove: Couldn't open physical volume "/dev/dsk/c5t0d0":&lt;BR /&gt;No such device or address&lt;BR /&gt;&lt;BR /&gt;ctatmp2[235]$ vgreduce -f /dev/vgext&lt;BR /&gt;vgreduce: Couldn't query physical volume "/dev/dsk/c5t0d0":&lt;BR /&gt;The specified path does not correspond to physical volume attached to &lt;BR /&gt;this volume group&lt;BR /&gt;&lt;BR /&gt;ctatmp2[228]$ strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c2t0d0&lt;BR /&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c1t0d0&lt;BR /&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c2t2d0&lt;BR /&gt;/dev/vg03&lt;BR /&gt;/dev/dsk/c1t2d0&lt;BR /&gt;/dev/vgext&lt;BR /&gt;/dev/dsk/c4t0d0&lt;BR /&gt;/dev/dsk/c4t2d0&lt;BR /&gt;/dev/dsk/c4t3d0&lt;BR /&gt;/dev/dsk/c4t8d0&lt;BR /&gt;/dev/dsk/c4t9d0&lt;BR /&gt;/dev/dsk/c4t10d0&lt;BR /&gt;/dev/dsk/c4t11d0&lt;BR /&gt;/dev/dsk/c4t12d0&lt;BR /&gt;/dev/dsk/c4t13d0&lt;BR /&gt;/dev/dsk/c5t0d0&lt;BR /&gt;&lt;/SNIP&gt;</description>
      <pubDate>Mon, 03 Jun 2002 14:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736346#M628666</guid>
      <dc:creator>Mark Everett</dc:creator>
      <dc:date>2002-06-03T14:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to remove non-existant pv from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736347#M628667</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;Try this link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support2.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=+LVMKBRC00006257&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=40&amp;amp;search.y=12" target="_blank"&gt;http://support2.itrc.hp.com/service/cki/search.do?category=c0&amp;amp;mode=id&amp;amp;searchString=+LVMKBRC00006257&amp;amp;searchCrit=allwords&amp;amp;docType=Security&amp;amp;docType=Patch&amp;amp;docType=EngineerNotes&amp;amp;docType=BugReports&amp;amp;docType=Hardware&amp;amp;docType=ReferenceMaterials&amp;amp;docType=ThirdParty&amp;amp;search.x=40&amp;amp;search.y=12&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;regds&lt;BR /&gt;</description>
      <pubDate>Mon, 03 Jun 2002 14:03:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736347#M628667</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2002-06-03T14:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to remove non-existant pv from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736348#M628668</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;There are a couple of ideas that you could rebuild.Please study and see if this works for you.&lt;BR /&gt;&lt;BR /&gt;a. vgchange -a n &lt;VG name=""&gt;&lt;BR /&gt;b. vgexport -m &lt;MAPFILE name=""&gt; &lt;VG name=""&gt;&lt;BR /&gt;c. Recreate the group file for the volume group:&lt;BR /&gt;        mkdir /dev/&lt;VG name=""&gt;&lt;BR /&gt;        mknod /dev/&lt;VG name=""&gt;/group c 64 0xXX0000  (where XX represents a unique&lt;BR /&gt;minor number)&lt;BR /&gt;d. vgimport -m &lt;MAPFILE name=""&gt; &lt;VG name=""&gt; pv_path ...&lt;BR /&gt;e. vgchange -a y &lt;VG name=""&gt;&lt;BR /&gt;&lt;BR /&gt;Then&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;f. vgreduce -f &lt;VG name=""&gt;&lt;BR /&gt;g. mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;h. vgscan -v&lt;BR /&gt;i. vgcfgbackup &lt;VG name=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/MAPFILE&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/MAPFILE&gt;&lt;/VG&gt;</description>
      <pubDate>Mon, 03 Jun 2002 14:07:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736348#M628668</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-06-03T14:07:55Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to remove non-existant pv from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736349#M628669</link>
      <description>This could be a possible solution:&lt;BR /&gt;&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;# vgscan -a</description>
      <pubDate>Mon, 03 Jun 2002 14:23:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736349#M628669</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-06-03T14:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to remove non-existant pv from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736350#M628670</link>
      <description>I recently had this same problem.&lt;BR /&gt;Follow Steve's solution, steps A,B &amp;amp; C.  On step D, only include the pv_path of the disks you want in the volume group.  Do not bring the ghost back in.  Then finish with steps E &amp;amp; I.  You're done.&lt;BR /&gt;You will not need steps F, G or H.&lt;BR /&gt;</description>
      <pubDate>Thu, 06 Jun 2002 20:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736350#M628670</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2002-06-06T20:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to remove non-existant pv from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736351#M628671</link>
      <description>The suggested reconstruction procedures were successful.  The device table has returned to reality and I now have a fully funcitonal disk array with volumes and filesystems.&lt;BR /&gt;&lt;BR /&gt;Thanks much for all the replies.&lt;BR /&gt;&lt;BR /&gt;I also manage Solaris, AIX, Tru64 UNIX, IRIX, Linux and DYNIX/ptx and this is by far the most helpful forum on the net!</description>
      <pubDate>Fri, 07 Jun 2002 11:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736351#M628671</guid>
      <dc:creator>Mark Everett</dc:creator>
      <dc:date>2002-06-07T11:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to remove non-existant pv from vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736352#M628672</link>
      <description>How about vg00? That is, if one of the root vg's pv is missed. How to remove the pv from the system configuration?&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Dec 2003 20:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/unable-to-remove-non-existant-pv-from-vg/m-p/2736352#M628672</guid>
      <dc:creator>Changchun Teng</dc:creator>
      <dc:date>2003-12-02T20:22:12Z</dc:date>
    </item>
  </channel>
</rss>

