<?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: remove VG in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704872#M250035</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can remove vg through both methods. First is vgreduce and other is vgexport ? The second one is more appropriate and will require very less efforts.&lt;BR /&gt;&lt;BR /&gt;In case of first you require to reduce VG to only one disk and this is applicable even if you have more than one link for one disk. But in the second case all the disks will be released even if your VG have 10 disks with 4 links each.&lt;BR /&gt;&lt;BR /&gt;After removing the VG by either method you need to pvcreate it using -f option. This is requires as the charaterstics of the VG to which the disk/disks are being added now could be different.&lt;BR /&gt;&lt;BR /&gt;Also do assign points to the responses to your threads. Your unassigned threads are listed here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA610806&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA610806&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
    <pubDate>Mon, 09 Jan 2006 06:36:42 GMT</pubDate>
    <dc:creator>Devender Khatana</dc:creator>
    <dc:date>2006-01-09T06:36:42Z</dc:date>
    <item>
      <title>remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704864#M250027</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I need to remove one of the vg that is no longer in use.  I have deleted all the LV.  should I just vgremove /dev/myvg?  Do I need to do a vgscan -v to update my lvmtab again.&lt;BR /&gt;&lt;BR /&gt;I need to release the pv in /dev/myvg and use it to extend other vg.  Should I do pvremove first and pvcreate again before I can do vgextend to the other vg?</description>
      <pubDate>Sun, 08 Jan 2006 21:16:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704864#M250027</guid>
      <dc:creator>kholikt</dc:creator>
      <dc:date>2006-01-08T21:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704865#M250028</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;no need to vgscan but u may confirm it by referring to /etc/lvmtab if the vg is still there:&lt;BR /&gt;&lt;BR /&gt;# strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;perform "pvcreate -f" on the pv u like to vgextend. this will delete any file system still present.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Sun, 08 Jan 2006 21:22:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704865#M250028</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2006-01-08T21:22:54Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704866#M250029</link>
      <description>To remove the VG you need to remove the lvols, then remove all but one of the physical volumes  from the vg using vgreduce. After there are no lvols and one pv left in the vg, you can do vgremove to remove the vg from the system.&lt;BR /&gt;&lt;BR /&gt;You could then pvcreate the freed up pv's and use vgextend to add them to other volume groups.&lt;BR /&gt;&lt;BR /&gt;You shouldn't need to run vgscan.&lt;BR /&gt;&lt;BR /&gt;to sum it up...&lt;BR /&gt;&lt;BR /&gt;lvremove&lt;BR /&gt;vgreduce&lt;BR /&gt;vgremove&lt;BR /&gt;pvcreate&lt;BR /&gt;vgextend&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Sun, 08 Jan 2006 21:32:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704866#M250029</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2006-01-08T21:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704867#M250030</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;I always do a pvremove first before I use it again for another vg. Because if I see an error message I know it is being used by another vg. So I do not need to remember and double check if I pick up the correct one.&lt;BR /&gt;&lt;BR /&gt;Do a pvremove and create new pv using pvcreate without -f option. That is my advice.&lt;BR /&gt;&lt;BR /&gt;pvcreate -f works just fine.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Sun, 08 Jan 2006 21:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704867#M250030</guid>
      <dc:creator>njia_1</dc:creator>
      <dc:date>2006-01-08T21:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704868#M250031</link>
      <description>Hi Kholikt,&lt;BR /&gt;&lt;BR /&gt;You can just do&lt;BR /&gt;&lt;BR /&gt;#vgexport &lt;YOUR vg=""&gt; &lt;BR /&gt;&lt;BR /&gt;to remove all reference to that vg from the system, including dev files.&lt;BR /&gt;&lt;BR /&gt;Latter you can do&lt;BR /&gt;&lt;BR /&gt;#pvcreate -f &amp;lt; the disks&amp;gt; , to the disks which are part of this vg now, to use for another vg.&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.&lt;/YOUR&gt;</description>
      <pubDate>Sun, 08 Jan 2006 21:48:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704868#M250031</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-01-08T21:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704869#M250032</link>
      <description>vgexport will remove the references to the VG.&lt;BR /&gt;After you remove the LVs with the lvremove command, you can use the vgexport command.&lt;BR /&gt;&lt;BR /&gt;This will remove the /dev/&lt;VGNAME&gt;, remove the reference in the lvmtab, no need to vgscan.&lt;BR /&gt;&lt;BR /&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Sun, 08 Jan 2006 23:18:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704869#M250032</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2006-01-08T23:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704870#M250033</link>
      <description>If you really no longer wish to use it, just vgexport the vg</description>
      <pubDate>Mon, 09 Jan 2006 00:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704870#M250033</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2006-01-09T00:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704871#M250034</link>
      <description>you have to use vgreduce command to bring the volume group holding only one PV in it.&lt;BR /&gt;you could youse multiple PV arguments with vgreduse command for this.&lt;BR /&gt;&lt;BR /&gt;you have to reduce alternate links also if any.&lt;BR /&gt;&lt;BR /&gt;One you come to a position were only one PV is presrent in the VG , you could remove the VG using vgreomve command.&lt;BR /&gt;&lt;BR /&gt;  The best and recomended method for removing a vg is using a vgexport command which will remove all the entries about VG and PVs belonging to that VG from /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;shinoj</description>
      <pubDate>Mon, 09 Jan 2006 06:22:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704871#M250034</guid>
      <dc:creator>so_2</dc:creator>
      <dc:date>2006-01-09T06:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: remove VG</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704872#M250035</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can remove vg through both methods. First is vgreduce and other is vgexport ? The second one is more appropriate and will require very less efforts.&lt;BR /&gt;&lt;BR /&gt;In case of first you require to reduce VG to only one disk and this is applicable even if you have more than one link for one disk. But in the second case all the disks will be released even if your VG have 10 disks with 4 links each.&lt;BR /&gt;&lt;BR /&gt;After removing the VG by either method you need to pvcreate it using -f option. This is requires as the charaterstics of the VG to which the disk/disks are being added now could be different.&lt;BR /&gt;&lt;BR /&gt;Also do assign points to the responses to your threads. Your unassigned threads are listed here&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA610806&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA610806&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Mon, 09 Jan 2006 06:36:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/remove-vg/m-p/3704872#M250035</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2006-01-09T06:36:42Z</dc:date>
    </item>
  </channel>
</rss>

