<?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 volume groups in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256507#M33533</link>
    <description>Are you sure that is the exact error? I would assume you just have maxvgs in the kernel set to low.</description>
    <pubDate>Fri, 22 Aug 2008 15:19:21 GMT</pubDate>
    <dc:creator>Court Campbell</dc:creator>
    <dc:date>2008-08-22T15:19:21Z</dc:date>
    <item>
      <title>removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256504#M33530</link>
      <description>I need to remove all our volume groups and any association to that VG, so that we can reuse the Hexnumber. will vgexport &lt;VGNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Fri, 22 Aug 2008 13:57:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256504#M33530</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T13:57:30Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256505#M33531</link>
      <description>reuse the hex number? are you using hp-ux? anyway you can use vgexport on inactive vg's.</description>
      <pubDate>Fri, 22 Aug 2008 14:50:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256505#M33531</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T14:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256506#M33532</link>
      <description>yes we need all references to the hexnumber removed so that we can use it again with the same or a different device.  when we try to use a hexnumber that is NOT listed in the /dev/*/groups, using vgcreate we get an error that the number is already in use.</description>
      <pubDate>Fri, 22 Aug 2008 15:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256506#M33532</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T15:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256507#M33533</link>
      <description>Are you sure that is the exact error? I would assume you just have maxvgs in the kernel set to low.</description>
      <pubDate>Fri, 22 Aug 2008 15:19:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256507#M33533</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T15:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256508#M33534</link>
      <description>yes we are using a hexnumber that we used successfully before and did a vgremove and tried to use that number again.&lt;BR /&gt;&lt;BR /&gt;exact error "volume group /dev/vg_testsize could not be created:  A volume group is already using this major and minor number please check the minor number of the "group" device file. &lt;BR /&gt;&lt;BR /&gt;We checked /dev/*/groups prior to doing mkdir and mknode and that number did not exist.  the mknode allowed us to use it the error came with the vgcreate&lt;BR /&gt;&lt;BR /&gt;the maxvgs=80 &lt;BR /&gt;x04a0000 is 74 and with in range.</description>
      <pubDate>Fri, 22 Aug 2008 15:28:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256508#M33534</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T15:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256509#M33535</link>
      <description>try vgexport -f vgnname.</description>
      <pubDate>Fri, 22 Aug 2008 15:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256509#M33535</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T15:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256510#M33536</link>
      <description>-f is for output file</description>
      <pubDate>Fri, 22 Aug 2008 15:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256510#M33536</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T15:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256511#M33537</link>
      <description>Sorry, i get used to -f meaning force in other commands. just try the vgexport vgname. if that doesn't work try this:&lt;BR /&gt;&lt;BR /&gt;mv  /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;vgscan -v&lt;BR /&gt;&lt;BR /&gt;now try vgcreate again.</description>
      <pubDate>Fri, 22 Aug 2008 15:52:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256511#M33537</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256512#M33538</link>
      <description>im a little reluctant to to mv the lvtab file and run vgscan.... what will that do to existing VG that are already mounted and serving data</description>
      <pubDate>Fri, 22 Aug 2008 15:55:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256512#M33538</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T15:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256513#M33539</link>
      <description>it's just going to recreate the file. it's not going to change data in the vg areas on disk. and that is the reason i put the steps to make the backup in the case it doesn't work. I am not offering advice that any other hpux admin wouldn't offer. the choice is yours.</description>
      <pubDate>Fri, 22 Aug 2008 15:58:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256513#M33539</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T15:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256514#M33540</link>
      <description>oh and I should mention after looking at it you should use:&lt;BR /&gt;&lt;BR /&gt;vgscan -a -v&lt;BR /&gt;&lt;BR /&gt;sorry</description>
      <pubDate>Fri, 22 Aug 2008 16:03:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256514#M33540</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T16:03:40Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256515#M33541</link>
      <description>I appreciate the advice, being new to HPUX, Solaris is my background, just want to understand what is going on</description>
      <pubDate>Fri, 22 Aug 2008 16:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256515#M33541</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T16:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256516#M33542</link>
      <description>No, I understand. You did the first step of making sure there was not a group file with the same minor number. From there you could try vgexport, and then vgscan. You might want to read then man page for vgscan. it makes note to the fact that the device orders may not be the same as they were before, etc. That all really depends on how you setup lvm. if you use multiple luns in a vg and try to spread the load across the luns you will need to clean all that up.</description>
      <pubDate>Fri, 22 Aug 2008 16:31:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256516#M33542</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T16:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256517#M33543</link>
      <description>if those options don't work, or you don't want to do the vgscan; you can always reboot. that should clean up the lvm structures in the kernel.</description>
      <pubDate>Fri, 22 Aug 2008 16:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256517#M33543</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T16:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256518#M33544</link>
      <description>thanks we are running vgscan -a -v -p and it is taking for ever so far 30min is this expected</description>
      <pubDate>Fri, 22 Aug 2008 17:45:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256518#M33544</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T17:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256519#M33545</link>
      <description>thanks we are running vgscan -a -v -p and it is taking forever so far 30min is this expected</description>
      <pubDate>Fri, 22 Aug 2008 17:45:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256519#M33545</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-22T17:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: removing volume groups</title>
      <link>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256520#M33546</link>
      <description>i would assume it could take awhile if you have a large number of devices.</description>
      <pubDate>Fri, 22 Aug 2008 18:45:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/removing-volume-groups/m-p/4256520#M33546</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-22T18:45:56Z</dc:date>
    </item>
  </channel>
</rss>

