<?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: vgreduce in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302792#M565889</link>
    <description>Hi Surendranath,&lt;BR /&gt;&lt;BR /&gt;vgreduce is the command to use for removing of missing PVs from a VG.&lt;BR /&gt;&lt;BR /&gt;Also see man pages!!&lt;BR /&gt;&lt;BR /&gt;Rgards&lt;BR /&gt;vjta&lt;BR /&gt;</description>
    <pubDate>Sat, 24 Jan 2009 09:46:12 GMT</pubDate>
    <dc:creator>vjta</dc:creator>
    <dc:date>2009-01-24T09:46:12Z</dc:date>
    <item>
      <title>vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302788#M565885</link>
      <description>vgreduce -f /dev/vg01?  I didnot see any changes been done to the volumegroup after running this command. Could some one please tell me the use of this command?.</description>
      <pubDate>Sat, 08 Nov 2008 04:46:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302788#M565885</guid>
      <dc:creator>surendranath</dc:creator>
      <dc:date>2008-11-08T04:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302789#M565886</link>
      <description>vgreduce -f /dev/vg01 is used for  reduction of missing physical volume from a VG&lt;BR /&gt;&lt;BR /&gt;Use man page for more details&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;John</description>
      <pubDate>Sat, 08 Nov 2008 07:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302789#M565886</guid>
      <dc:creator>john123</dc:creator>
      <dc:date>2008-11-08T07:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302790#M565887</link>
      <description>Hi Surendranath,&lt;BR /&gt;&lt;BR /&gt;what error do you get.?&lt;BR /&gt;&lt;BR /&gt;below are the Generic procedure to remove the vg&lt;BR /&gt;&lt;BR /&gt;vgdisplay â  v &lt;VG&gt;&lt;BR /&gt;If all logical volumes are gone from the volume group, remove the volume group&lt;BR /&gt;vgreduce &lt;VG_NAME&gt; &lt;DISK1&gt; &lt;DISK2&gt;&lt;BR /&gt;vgremove &lt;VG&gt;&lt;BR /&gt;rmsf /dev/&lt;VG&gt;&lt;BR /&gt;strings /etc/lvmtab â   Make sure disks and volume group are gone&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;vgreduce -l /dev/vg01 &lt;DISK_NAME&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;/DISK_NAME&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/DISK2&gt;&lt;/DISK1&gt;&lt;/VG_NAME&gt;&lt;/VG&gt;</description>
      <pubDate>Sat, 08 Nov 2008 13:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302790#M565887</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-11-08T13:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302791#M565888</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;See what man page says,&lt;BR /&gt;&lt;BR /&gt;force reduction of missing physical volume(s) in a&lt;BR /&gt;                          given volume group.  This option does not require&lt;BR /&gt;                          a physical volume (PV) to be supplied on the&lt;BR /&gt;                          command line.  vgreduce obtains the name of each&lt;BR /&gt;                          physical volume (PV) belonging to the volume group&lt;BR /&gt;                          from the file /etc/lvmtab.  It then reads the LVM&lt;BR /&gt;                          structures from each PV and compares these with&lt;BR /&gt;                          that held by the kernel to work out which PVs are&lt;BR /&gt;                          missing. PVs which are missing will be candidates&lt;BR /&gt;                          for removal. If all the physical extents on the&lt;BR /&gt;                          missing PV are free then it will be removed from&lt;BR /&gt;                          the volume group. Otherwise vgreduce will report&lt;BR /&gt;                          the physical to logical extent mapping.  For&lt;BR /&gt;                          missing PVs, which have extents in use, you must&lt;BR /&gt;                          free up all the extents by using lvreduce(1M) or&lt;BR /&gt;                          lvremove(1M) and re-run vgreduce with the -f&lt;BR /&gt;                          option.  This option is most commonly used when&lt;BR /&gt;                          the vgdisplay(1M) command shows "Cur PV" higher&lt;BR /&gt;                          than "Act PV" and all of the PVs belonging to the&lt;BR /&gt;                          volume group are attached.  This option only works&lt;BR /&gt;                          on PVs and not on links.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sen&lt;BR /&gt;</description>
      <pubDate>Sat, 08 Nov 2008 20:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302791#M565888</guid>
      <dc:creator>sen_ux</dc:creator>
      <dc:date>2008-11-08T20:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302792#M565889</link>
      <description>Hi Surendranath,&lt;BR /&gt;&lt;BR /&gt;vgreduce is the command to use for removing of missing PVs from a VG.&lt;BR /&gt;&lt;BR /&gt;Also see man pages!!&lt;BR /&gt;&lt;BR /&gt;Rgards&lt;BR /&gt;vjta&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jan 2009 09:46:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302792#M565889</guid>
      <dc:creator>vjta</dc:creator>
      <dc:date>2009-01-24T09:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302793#M565890</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sen_ux gave a nice explanation of what vgreduce -f does.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#vgreduce -f /dev/&lt;VG_NAME&gt; is for the reduction of the missing PVs from the VG&lt;BR /&gt;&lt;BR /&gt;PVs that are missing shall get removed , u might require to do an lvreduce -m 0 /dev/&lt;VG_NAME&gt;/&lt;LV_NAME&gt; to remove the PE mappings still associated with the missing PV.&lt;BR /&gt;&lt;BR /&gt;#vgreduce -l /dev/vg02 /dev/dsk/c2t5d0&lt;BR /&gt;&lt;BR /&gt;this will remove the missing path PV Links or extrs Alternate links from /etc/lvmatb or /etc/lvmtab_p as LVM supports total 8 paths for a PV ( 1 Prmary and 7 Alternate in LVM V1.0 VGs)&lt;BR /&gt;&lt;BR /&gt;PV links will be removed only if the paths are sensed as missing.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;REgards&lt;BR /&gt;Sujit&lt;/LV_NAME&gt;&lt;/VG_NAME&gt;&lt;/VG_NAME&gt;</description>
      <pubDate>Sat, 24 Jan 2009 10:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302793#M565890</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-24T10:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302794#M565891</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Apart from removing the missing PVs(#vgreduce -f /dev/vgXX) and the missing PV Links or paths(#vgreduce -l /dev/vg00 &lt;PV_NAME&gt;) the command is used basically for the removal of a PV from the VG. But that PV should have the LVs lying on that also removed using lvremove prior to that.&lt;BR /&gt;&lt;BR /&gt;Also this can be used to remove the Existing PV Links that is Alternate Paths to the PVs if wished.&lt;BR /&gt;&lt;BR /&gt;for more can refer to the Manual page of the vgreduce(1M) coammand.&lt;BR /&gt;&lt;BR /&gt;Please do not forget to assign points if the posts made to the thread have been helpful&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sujit&lt;/PV_NAME&gt;</description>
      <pubDate>Mon, 26 Jan 2009 11:59:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302794#M565891</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-26T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: vgreduce</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302795#M565892</link>
      <description>This is the procedure to remove the missing PV path from lvmtab&lt;BR /&gt;&lt;BR /&gt;#vgreduce -f "vg name"&lt;BR /&gt;#mv /etc/lvmtab /etc/lvmtab.bkp&lt;BR /&gt;#vgscan -v&lt;BR /&gt;&lt;BR /&gt;check the lvmtab if a new path is discovered The old missing path is replaced by new path&lt;BR /&gt;&lt;BR /&gt;check the vg status with &lt;BR /&gt;&lt;BR /&gt;vgdisplay -v "vg name"&lt;BR /&gt;&lt;BR /&gt;if you have any error on the new path activate the pv path with the command&lt;BR /&gt;&lt;BR /&gt;#pvchange -a y /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jan 2009 06:36:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgreduce/m-p/4302795#M565892</guid>
      <dc:creator>sdass</dc:creator>
      <dc:date>2009-01-29T06:36:30Z</dc:date>
    </item>
  </channel>
</rss>

