<?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: lvgremove in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643633#M646463</link>
    <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;So the 'vgdisplay' shows one logical volume.  Is the logical volume one of those you 'lvreduce'd?  Would you please re-do the 'vgdisplay' adding the verbose (-v) option.  Also, do a verbose 'lvdisplay' on the remaining logical volume and post that.&lt;BR /&gt;&lt;BR /&gt;Once again, if you have *nothing* on the volume group that you want, a 'vgexport' of the whole volume group should do a rapid cleanup.&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n /dev/vg01&lt;BR /&gt;# vgexport /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Sat, 12 Jan 2002 21:41:04 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2002-01-12T21:41:04Z</dc:date>
    <item>
      <title>lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643626#M646456</link>
      <description>I wanted to remove a volume group named vg01.&lt;BR /&gt;In that i had 2 logical volumes(lvol1,lvol2).&lt;BR /&gt;I did lvremove for them.But after that i can see only one logical volume was removed.The other one is remaining.If i use lvremove on that "it is saying successfully removed:.But it remains there.If i do vgremove on vg01 it says you have logical volume in it.what should i do?I would like to remove the volume group.&lt;BR /&gt;suggesstions are appreciated.</description>
      <pubDate>Sat, 12 Jan 2002 20:35:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643626#M646456</guid>
      <dc:creator>subhashni</dc:creator>
      <dc:date>2002-01-12T20:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643627#M646457</link>
      <description>Hi Subh,&lt;BR /&gt;&lt;BR /&gt;This is the normal procedure :&lt;BR /&gt;&lt;BR /&gt;1) Unmount the file systems (umount)&lt;BR /&gt;2) check through 'bdf' to confirm the umount.&lt;BR /&gt;3) remove LVs (lvremove lvname)&lt;BR /&gt;4) Confirm removal through 'lvdisplay' or 'vgdisplay -v'&lt;BR /&gt;5) remove vg (vgremove)&lt;BR /&gt;&lt;BR /&gt;For an easy trial you can do this throgh SAM.&lt;BR /&gt;Remember to check up nobody is using the particular file systems.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Shiju</description>
      <pubDate>Sat, 12 Jan 2002 20:52:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643627#M646457</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-12T20:52:30Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643628#M646458</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;You say "I can see only one logical volume was removed.".  How do you conclude this; the presence of device files (/dev/vg01/*) or doing 'lvdisplay /dev/vg01/lvolN'?&lt;BR /&gt;&lt;BR /&gt;A simple way to eliminate almost all vestiges of a volume *group* (i.e. all of its logical volumes and device files) is to 'vgexport' the volume group.  You will then only need to edit its logical volume mount points (if any) from /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 12 Jan 2002 20:52:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643628#M646458</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-12T20:52:47Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643629#M646459</link>
      <description>After removing lvol1 and lvol2,i did vgremove.&lt;BR /&gt;It has given the error message as "can't remove the volume group ,there is existing logical volumes."</description>
      <pubDate>Sat, 12 Jan 2002 21:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643629#M646459</guid>
      <dc:creator>subhashni</dc:creator>
      <dc:date>2002-01-12T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643630#M646460</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Seems like it failed removing the LV. What will be the output of 'lvdisplay' and 'vgdisplay ? Does it show any LV information ? Did you try removing through SAM ?&lt;BR /&gt;&lt;BR /&gt;Shiju</description>
      <pubDate>Sat, 12 Jan 2002 21:18:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643630#M646460</guid>
      <dc:creator>Helen French</dc:creator>
      <dc:date>2002-01-12T21:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643631#M646461</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In this situation it sounds like there&lt;BR /&gt;are still logical volumes in the group.&lt;BR /&gt;To check run the vgdisplay command&lt;BR /&gt;# vgdisplay -v /dev/vg01&lt;BR /&gt;It should return some information on&lt;BR /&gt;existing volumes. If so run the 'lvremove'&lt;BR /&gt;command.&lt;BR /&gt;# lvremove /dev/vg01/lvol?&lt;BR /&gt;Once all have been removed and any&lt;BR /&gt;other except the last physical &lt;BR /&gt;volumes by running&lt;BR /&gt;the 'vgreduce' command &lt;BR /&gt;# vgreduce /dev/vg01 /dev/dsk/cxtydz&lt;BR /&gt;only then can you run the 'vgremove'&lt;BR /&gt;command&lt;BR /&gt;# vgremove /dev/vg01&lt;BR /&gt;&lt;BR /&gt;As suggested earlier by James, running&lt;BR /&gt;the 'vgexport' command will do the lot.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;-Michael&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Jan 2002 21:22:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643631#M646461</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2002-01-12T21:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643632#M646462</link>
      <description>the vgdisplay displays it contains one logical volume.</description>
      <pubDate>Sat, 12 Jan 2002 21:33:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643632#M646462</guid>
      <dc:creator>subhashni</dc:creator>
      <dc:date>2002-01-12T21:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643633#M646463</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;So the 'vgdisplay' shows one logical volume.  Is the logical volume one of those you 'lvreduce'd?  Would you please re-do the 'vgdisplay' adding the verbose (-v) option.  Also, do a verbose 'lvdisplay' on the remaining logical volume and post that.&lt;BR /&gt;&lt;BR /&gt;Once again, if you have *nothing* on the volume group that you want, a 'vgexport' of the whole volume group should do a rapid cleanup.&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n /dev/vg01&lt;BR /&gt;# vgexport /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 12 Jan 2002 21:41:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643633#M646463</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2002-01-12T21:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: lvgremove</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643634#M646464</link>
      <description>If your idea is to remove the volume group, you can simply do a vgexport. You don't need to worry about the logical volumes in it.&lt;BR /&gt;&lt;BR /&gt;#vgchange -a n vg01&lt;BR /&gt;#vgexport vg01&lt;BR /&gt;&lt;BR /&gt;This will get you rid of vg01 from the system. You can do a pvcreate on the disks and start using them.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sun, 13 Jan 2002 04:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvgremove/m-p/2643634#M646464</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-13T04:46:14Z</dc:date>
    </item>
  </channel>
</rss>

