<?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: removing old volume groups and logical volumes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511969#M648312</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It seems in fact that the best what you should do is use vgscan command. But exactly try the following steps:&lt;BR /&gt;&lt;BR /&gt;1. move lvmtab somwhere&lt;BR /&gt;2. remove all unnecessary /dev/vgXX directories with &lt;BR /&gt;    group file in it, if such directories exist. Leaving them &lt;BR /&gt;    to unexpected results.&lt;BR /&gt;3. issue vgscan command&lt;BR /&gt;</description>
    <pubDate>Sun, 01 Apr 2001 22:30:39 GMT</pubDate>
    <dc:creator>Wieslaw Krajewski</dc:creator>
    <dc:date>2001-04-01T22:30:39Z</dc:date>
    <item>
      <title>removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511964#M648307</link>
      <description>I work in a lab where we are constantly attaching drives, testing something, then detaching the drives. The upshot is that I have a system (HP 11.00) with a bunch of invalid volume group information. A 'strings' of the lvmtab file shows a number of volume groups and corresponding disk device files that are no longer attached to the system. When attempting lvremove or pvremove I always get errors that there are still logical volumes on this vg, or there are still vg's on this disk.  so... how can I clean up my system and simply erase all of the lingering information for drives and volumes that no longer exist?&lt;BR /&gt;&lt;BR /&gt;thanks!</description>
      <pubDate>Sat, 31 Mar 2001 02:58:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511964#M648307</guid>
      <dc:creator>William Shaw</dc:creator>
      <dc:date>2001-03-31T02:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511965#M648308</link>
      <description>The fastest way to rid your system of the non-existant volume groups would be to export them.&lt;BR /&gt;&lt;BR /&gt;# vgexport /dev/vg_name&lt;BR /&gt;&lt;BR /&gt;This will remove their entry from the /etc/lvmtab and the directory under /dev.&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Sat, 31 Mar 2001 03:42:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511965#M648308</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2001-03-31T03:42:44Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511966#M648309</link>
      <description>Yes you vgexport will work very fine. Also just FYI you can move the old /etc/lvmtab file to /etc/lvmtab.xyz and do a vgscan this should create a new /etc/lvmtab with the information of the VGs which have Physical volumes attached to it.Verify the new /etc/lvmtab.&lt;BR /&gt;&lt;BR /&gt;Good luck.</description>
      <pubDate>Sat, 31 Mar 2001 14:48:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511966#M648309</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2001-03-31T14:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511967#M648310</link>
      <description>Hi Willian&lt;BR /&gt;&lt;BR /&gt;Have a look at "man vgscan", I would suggest vgscan -pv first but make sure you are aware that the order of the disks may change if you then do a vgscan -apv.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula&lt;BR /&gt;</description>
      <pubDate>Sat, 31 Mar 2001 16:37:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511967#M648310</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-03-31T16:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511968#M648311</link>
      <description>William ensure that you backup lvmtab prior to changes.&lt;BR /&gt;&lt;BR /&gt;;-)&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Sat, 31 Mar 2001 16:39:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511968#M648311</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2001-03-31T16:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511969#M648312</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It seems in fact that the best what you should do is use vgscan command. But exactly try the following steps:&lt;BR /&gt;&lt;BR /&gt;1. move lvmtab somwhere&lt;BR /&gt;2. remove all unnecessary /dev/vgXX directories with &lt;BR /&gt;    group file in it, if such directories exist. Leaving them &lt;BR /&gt;    to unexpected results.&lt;BR /&gt;3. issue vgscan command&lt;BR /&gt;</description>
      <pubDate>Sun, 01 Apr 2001 22:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511969#M648312</guid>
      <dc:creator>Wieslaw Krajewski</dc:creator>
      <dc:date>2001-04-01T22:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511970#M648313</link>
      <description>Try with SAM.</description>
      <pubDate>Mon, 02 Apr 2001 09:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511970#M648313</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-04-02T09:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511971#M648314</link>
      <description>Hi&lt;BR /&gt;During a recreate of a vg I experienced problems related to major and minor numbers in use, even tough no trace where found in any files.&lt;BR /&gt;According to HP-tech this was due to storing of the major and minor numbers in use in the kernel loaded in memory. &lt;BR /&gt;Reboot to get rid of these, or as I did use new numbers in the group creation.&lt;BR /&gt;&lt;BR /&gt;Just a tip.&lt;BR /&gt;&lt;BR /&gt;Andreas</description>
      <pubDate>Mon, 02 Apr 2001 11:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511971#M648314</guid>
      <dc:creator>Andreas D. Skjervold</dc:creator>
      <dc:date>2001-04-02T11:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: removing old volume groups and logical volumes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511972#M648315</link>
      <description>Thanks for all the help, folks! &lt;BR /&gt;&lt;BR /&gt;I did a 'vgexport' for each of the old, non-existant groups. For some of them whose group file had already been removed manually (and therefore vgexport wouldn't work), I just recreated the file with 'mknod' and then issued vgexport command again, and that worked great... next time I'll try deleting all /dev/vg* directories and then issue vgscan. According to above answers, this should also yield the same result.</description>
      <pubDate>Mon, 02 Apr 2001 22:00:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-old-volume-groups-and-logical-volumes/m-p/2511972#M648315</guid>
      <dc:creator>William Shaw</dc:creator>
      <dc:date>2001-04-02T22:00:39Z</dc:date>
    </item>
  </channel>
</rss>

