<?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 Removing a physical volume from a volume group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909412#M492714</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I need to remove a 'ghost' physical volume from a violume group.&lt;/P&gt;&lt;P&gt;The volume group shows the following when vgcfgbackup is used:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;# vgdisplay vg01&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t8d0":&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;--- Volume groups ---&lt;BR /&gt;VG Name /dev/vg01&lt;BR /&gt;VG Write Access read/write&lt;BR /&gt;VG Status available&lt;BR /&gt;Max LV 255&lt;BR /&gt;Cur LV 4&lt;BR /&gt;Open LV 4&lt;BR /&gt;Max PV 16&lt;BR /&gt;Cur PV 6&lt;BR /&gt;Act PV 5&lt;BR /&gt;Max PE per PV 2171&lt;BR /&gt;VGDA 10&lt;BR /&gt;PE Size (Mbytes) 4&lt;BR /&gt;Total PE 10850&lt;BR /&gt;Alloc PE 8834&lt;BR /&gt;Free PE 2016&lt;BR /&gt;Total PVG 0&lt;/P&gt;&lt;P&gt;run:&lt;/P&gt;&lt;P&gt;vgreduce -f vg01&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Couldn't open physical volume "/dev/rdsk/c0t8d0":&lt;/P&gt;&lt;P&gt;run:&lt;/P&gt;&lt;P&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;/P&gt;&lt;P&gt;vgscan -v&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Creating "/etc/lvmtab".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg01".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg02".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t2d0":&lt;BR /&gt;Invalid argument&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;/dev/dsk/c4t3d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c0t9d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t8d0&lt;BR /&gt;/dev/dsk/c1t9d0&lt;BR /&gt;/dev/dsk/c4t4d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c0t11d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t8d0&lt;BR /&gt;/dev/dsk/c1t9d0&lt;BR /&gt;/dev/dsk/c4t4d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c1t10d0&lt;BR /&gt;/dev/dsk/c4t5d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;vgcfgbackup vg01&lt;BR /&gt;vgcfgbackup: Warning: couldn't query physical volume "":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;/P&gt;&lt;P&gt;Any advice on this would be most welcome.&lt;/P&gt;&lt;P&gt;Further information:&lt;/P&gt;&lt;P&gt;Server is a HP&amp;nbsp;9000/871 running HP-UX 10.20 with no chance of upgrading.&lt;/P&gt;&lt;P&gt;This issue is causing the Ignite backup of the server to fail.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Oct 2016 15:13:33 GMT</pubDate>
    <dc:creator>Gregsih</dc:creator>
    <dc:date>2016-10-20T15:13:33Z</dc:date>
    <item>
      <title>Removing a physical volume from a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909412#M492714</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I need to remove a 'ghost' physical volume from a violume group.&lt;/P&gt;&lt;P&gt;The volume group shows the following when vgcfgbackup is used:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;# vgdisplay vg01&lt;BR /&gt;vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t8d0":&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;--- Volume groups ---&lt;BR /&gt;VG Name /dev/vg01&lt;BR /&gt;VG Write Access read/write&lt;BR /&gt;VG Status available&lt;BR /&gt;Max LV 255&lt;BR /&gt;Cur LV 4&lt;BR /&gt;Open LV 4&lt;BR /&gt;Max PV 16&lt;BR /&gt;Cur PV 6&lt;BR /&gt;Act PV 5&lt;BR /&gt;Max PE per PV 2171&lt;BR /&gt;VGDA 10&lt;BR /&gt;PE Size (Mbytes) 4&lt;BR /&gt;Total PE 10850&lt;BR /&gt;Alloc PE 8834&lt;BR /&gt;Free PE 2016&lt;BR /&gt;Total PVG 0&lt;/P&gt;&lt;P&gt;run:&lt;/P&gt;&lt;P&gt;vgreduce -f vg01&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Couldn't open physical volume "/dev/rdsk/c0t8d0":&lt;/P&gt;&lt;P&gt;run:&lt;/P&gt;&lt;P&gt;mv /etc/lvmtab /etc/lvmtab.old&lt;/P&gt;&lt;P&gt;vgscan -v&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Creating "/etc/lvmtab".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg00".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg01".&lt;BR /&gt;vgscan: Couldn't access the list of physical volumes for volume group "/dev/vg02".&lt;BR /&gt;Couldn't stat physical volume "/dev/dsk/c2t2d0":&lt;BR /&gt;Invalid argument&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c0t5d0&lt;BR /&gt;/dev/dsk/c4t3d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;/dev/vg01&lt;BR /&gt;/dev/dsk/c0t9d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t8d0&lt;BR /&gt;/dev/dsk/c1t9d0&lt;BR /&gt;/dev/dsk/c4t4d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;Following Physical Volumes belong to one Volume Group.&lt;BR /&gt;Unable to match these Physical Volumes to a Volume Group.&lt;BR /&gt;Use the vgimport command to complete the process.&lt;BR /&gt;/dev/dsk/c0t11d0&lt;BR /&gt;/dev/dsk/c0t10d0&lt;BR /&gt;/dev/dsk/c1t8d0&lt;BR /&gt;/dev/dsk/c1t9d0&lt;BR /&gt;/dev/dsk/c4t4d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;/dev/vg02&lt;BR /&gt;/dev/dsk/c1t10d0&lt;BR /&gt;/dev/dsk/c4t5d0&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;BR /&gt;Scan of Physical Volumes Complete.&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;vgcfgbackup vg01&lt;BR /&gt;vgcfgbackup: Warning: couldn't query physical volume "":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Warning: couldn't query all of the physical volumes.&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgbackup: Couldn't query physical volume "":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;/P&gt;&lt;P&gt;Any advice on this would be most welcome.&lt;/P&gt;&lt;P&gt;Further information:&lt;/P&gt;&lt;P&gt;Server is a HP&amp;nbsp;9000/871 running HP-UX 10.20 with no chance of upgrading.&lt;/P&gt;&lt;P&gt;This issue is causing the Ignite backup of the server to fail.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 15:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909412#M492714</guid>
      <dc:creator>Gregsih</dc:creator>
      <dc:date>2016-10-20T15:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a physical volume from a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909435#M492715</link>
      <description>&lt;P&gt;Try using 'vgreduce -f'.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# vgreduce -f vg01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From the vgreduce man page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-f vg_name&lt;/P&gt;&lt;P&gt;force reduction of missing physical volume(s) in a given volume group. vgreduce obtains the name of each physical volume (PV) belonging to the volume group from the file /etc/lvmtab. It then reads the LVM structures from each PV and compares these with that held by the kernel to work out which PVs are missing. PVs which are missing will be candidates for removal. If all the physical extents on the missing PV are free then it will be removed from the volume group. Otherwise vgreduce will report the physical to logical extent mapping. For missing PVs which have extents in&amp;nbsp;use you must free up all the extents by using&amp;nbsp;lvreduce(1M) and re-run vgreduce with the -f option. This option is most commonly used when&lt;BR /&gt;the vgdisplay(1M) command shows "Cur PV" higher than "Act PV" and all of the PVs belonging to the volume group are attached.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 15:00:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909435#M492715</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2016-10-20T15:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a physical volume from a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909445#M492716</link>
      <description>&lt;P&gt;Sorry typo. I did run vgreduce -f vg01 with the results as shown.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2016 15:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909445#M492716</guid>
      <dc:creator>Gregsih</dc:creator>
      <dc:date>2016-10-20T15:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a physical volume from a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909945#M492717</link>
      <description>&lt;P&gt;How about just running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;# vgexport /dev/vg01&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Bob&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2016 18:03:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6909945#M492717</guid>
      <dc:creator>Robert_Jewell</dc:creator>
      <dc:date>2016-10-21T18:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing a physical volume from a volume group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6913156#M492718</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Sorry for the delay in responding. &amp;nbsp;I have now managed to remove the c0t8do entry from the Logical Volume Group. The solution was not to move /etc/lvmtab but to copy it.&lt;/P&gt;&lt;P&gt;The issue now is that the PV c0t8d0 still exists in lvmtab and there appaers to be no command to remove it.&lt;/P&gt;&lt;P&gt;Even so we have some progress.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2016 10:28:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-a-physical-volume-from-a-volume-group/m-p/6913156#M492718</guid>
      <dc:creator>Gregsih</dc:creator>
      <dc:date>2016-10-28T10:28:05Z</dc:date>
    </item>
  </channel>
</rss>

