<?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 vgcreate error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330867#M615264</link>
    <description>Hi All, I get an error creating a VG:&lt;BR /&gt;&lt;BR /&gt;root@devux/prdtn/dbs/dbf&amp;gt;vgcreate -s 8 -e 65535 vg_prdtn /dev/dsk/c7t0d0      &lt;BR /&gt;vgcreate: Volume group "/dev/vg_prdtn" could not be created:&lt;BR /&gt;A volume group is already using this major and minor number.&lt;BR /&gt;Please check the minor number of the "group" device file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but&lt;BR /&gt;root@devux/prdtn/dbs/dbf&amp;gt;ls -la /dev/*/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x000000 Nov 13  2000 /dev/vg00/group&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x010000 Jan 17  2001 /dev/vg01/group&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x020000 Nov 22  2000 /dev/vg02/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x030000 Dec 28  2000 /dev/vg03/group&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x040000 Jul  3  2001 /dev/vg04/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x100000 Jul 17  2002 /dev/vg_aste_1/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x110000 Jul 17  2002 /dev/vg_aste_2/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x120000 Jul 17  2002 /dev/vg_aste_3/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x130000 Jul 17  2002 /dev/vg_aste_4/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x140000 Jul 19  2002 /dev/vg_aste_5/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x1a0000 Jul 13 11:11 /dev/vg_asterix/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x060000 Jun  5  2003 /dev/vg_obelix/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x1b0000 Jul 14 08:55 /dev/vg_prdtn/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x070000 Jul 14 08:45 /dev/vg_prdtn_old/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x160000 Jun  3  2003 /dev/vg_rwh/group&lt;BR /&gt;&lt;BR /&gt;What am I mistaken?&lt;BR /&gt;&lt;BR /&gt;Thank You</description>
    <pubDate>Wed, 14 Jul 2004 02:02:45 GMT</pubDate>
    <dc:creator>Mauro Gatti</dc:creator>
    <dc:date>2004-07-14T02:02:45Z</dc:date>
    <item>
      <title>vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330867#M615264</link>
      <description>Hi All, I get an error creating a VG:&lt;BR /&gt;&lt;BR /&gt;root@devux/prdtn/dbs/dbf&amp;gt;vgcreate -s 8 -e 65535 vg_prdtn /dev/dsk/c7t0d0      &lt;BR /&gt;vgcreate: Volume group "/dev/vg_prdtn" could not be created:&lt;BR /&gt;A volume group is already using this major and minor number.&lt;BR /&gt;Please check the minor number of the "group" device file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but&lt;BR /&gt;root@devux/prdtn/dbs/dbf&amp;gt;ls -la /dev/*/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x000000 Nov 13  2000 /dev/vg00/group&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x010000 Jan 17  2001 /dev/vg01/group&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x020000 Nov 22  2000 /dev/vg02/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x030000 Dec 28  2000 /dev/vg03/group&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x040000 Jul  3  2001 /dev/vg04/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x100000 Jul 17  2002 /dev/vg_aste_1/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x110000 Jul 17  2002 /dev/vg_aste_2/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x120000 Jul 17  2002 /dev/vg_aste_3/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x130000 Jul 17  2002 /dev/vg_aste_4/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x140000 Jul 19  2002 /dev/vg_aste_5/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x1a0000 Jul 13 11:11 /dev/vg_asterix/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x060000 Jun  5  2003 /dev/vg_obelix/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x1b0000 Jul 14 08:55 /dev/vg_prdtn/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x070000 Jul 14 08:45 /dev/vg_prdtn_old/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x160000 Jun  3  2003 /dev/vg_rwh/group&lt;BR /&gt;&lt;BR /&gt;What am I mistaken?&lt;BR /&gt;&lt;BR /&gt;Thank You</description>
      <pubDate>Wed, 14 Jul 2004 02:02:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330867#M615264</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2004-07-14T02:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330868#M615265</link>
      <description>HI Mauri,&lt;BR /&gt;Repeat this again, be sure about VG name.&lt;BR /&gt;1. # vgexport /dev/vg_prdtn&lt;BR /&gt;2. # mkdir /dev/vg_prdtn&lt;BR /&gt;3. # mknod /dev/vg_prdtn/group c 64 0x1b0000 &lt;BR /&gt;4. # vgcreate -s 8 -e 65535 vg_prdtn /dev/dsk/c7t0d0 &lt;BR /&gt;&lt;BR /&gt;This should work.&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 14 Jul 2004 02:17:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330868#M615265</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-14T02:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330869#M615266</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;can you explain the vg creation procedure that you followed.&lt;BR /&gt;&lt;BR /&gt;we normally follow this&lt;BR /&gt;&lt;BR /&gt;#pvcreate -f &lt;DISK path=""&gt;&lt;BR /&gt;#mkdir /dev/&lt;VGNAME&gt;&lt;BR /&gt;#cd /dev/&lt;VGNAME&gt;&lt;BR /&gt;#mknod /dev/&lt;VGNAME&gt;/group c 64 0x0y0000&lt;BR /&gt;where y is vg number&lt;BR /&gt;#vgcreate /dev/&lt;VGNAME&gt; &lt;DISK path=""&gt;&lt;/DISK&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/DISK&gt;</description>
      <pubDate>Wed, 14 Jul 2004 02:18:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330869#M615266</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-07-14T02:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330870#M615267</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you should first use &lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg_prdtn&lt;BR /&gt;and then in that dir&lt;BR /&gt;mknod group c 64 0x&lt;PRDTN&gt;0000&lt;BR /&gt;(for example vg01 - 0x010000)&lt;BR /&gt;This should do the trick&lt;BR /&gt;&lt;BR /&gt;Franky&lt;/PRDTN&gt;</description>
      <pubDate>Wed, 14 Jul 2004 02:30:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330870#M615267</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-07-14T02:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330871#M615268</link>
      <description>hi,&lt;BR /&gt; &lt;BR /&gt;PHCO_29379&lt;BR /&gt; When more than one Volume Groups in LVM uses the same minor&lt;BR /&gt; number they overstep on each others data structures in the&lt;BR /&gt; kernel resulting in unpredictable behaviour with any of the&lt;BR /&gt; operations with these volume groups. This problem will not&lt;BR /&gt; go away even after removing both the volume groups. Any&lt;BR /&gt; creation of a volume group with the same minor number (after&lt;BR /&gt; removing all the Volume Groups using that minor number)&lt;BR /&gt; would fail with the following message even though there is&lt;BR /&gt; no volume group using that minor number at this time.&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;so try patching, rebooting, or another unused minor number.&lt;BR /&gt; &lt;BR /&gt;regards,&lt;BR /&gt;Thierry.</description>
      <pubDate>Wed, 14 Jul 2004 02:37:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330871#M615268</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-07-14T02:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330872#M615269</link>
      <description>My HP-UX is 10.20 patch mentioned in this thread is for 11.11 isnt' it?&lt;BR /&gt;&lt;BR /&gt;I did:&lt;BR /&gt;1) vgexport vg_prdtn&lt;BR /&gt;2) vgimport vg_prdtn with another name (vg_prdtn_old)&lt;BR /&gt;(I've to rename vg first because I have to migrate data)&lt;BR /&gt;3) mkdir /dev/vg_prdtn&lt;BR /&gt;4) mknod /dev/vg_prdtn/group c 64 0x1b0000&lt;BR /&gt;5) vgcreate new vg_prdtn</description>
      <pubDate>Wed, 14 Jul 2004 02:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330872#M615269</guid>
      <dc:creator>Mauro Gatti</dc:creator>
      <dc:date>2004-07-14T02:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330873#M615270</link>
      <description>Can you try with this minor no. 0x050000 or 0x080000 or 0x090000.&lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 14 Jul 2004 02:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330873#M615270</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-14T02:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330874#M615271</link>
      <description>It was because that major number and minor number is already in use as in the listing you have. Try to use another major and minor number.</description>
      <pubDate>Wed, 14 Jul 2004 03:20:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330874#M615271</guid>
      <dc:creator>Isralyn Manalac_1</dc:creator>
      <dc:date>2004-07-14T03:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330875#M615272</link>
      <description>ooops..missed out that it was actually vg_prdtn</description>
      <pubDate>Wed, 14 Jul 2004 03:26:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330875#M615272</guid>
      <dc:creator>Isralyn Manalac_1</dc:creator>
      <dc:date>2004-07-14T03:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330876#M615273</link>
      <description>hpux 10.20?  lol&lt;BR /&gt;out of support since ages, I believe last patch bundles dates from december 2002&lt;BR /&gt;  &lt;BR /&gt;We do not support 10.20, thread closed!&lt;BR /&gt; &lt;BR /&gt;now seriously:&lt;BR /&gt;- try other minor numbers&lt;BR /&gt;- try a new VG name with same minor number (if vg_prdtn_old is a renamed vg_prdtn)&lt;BR /&gt;- check maxvgs in your kernel, must be at least 28 to use 1B as a minor number&lt;BR /&gt;  &lt;BR /&gt;good luck,&lt;BR /&gt;Thierry</description>
      <pubDate>Wed, 14 Jul 2004 03:48:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330876#M615273</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2004-07-14T03:48:08Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330877#M615274</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This can happen if someone accidentally deleted /dev/vgxx directory corresponding to the minor number you are trying to use. You may find the VG in your /etc/lvmtab (strings /etc/lvmtab). Do 'strings /etc/lvmtab |grep vg' and compare the VGs against the list you have in your /dev directory. Also, run 'vgdisplay -v |grep 'VG Name'' if your /etc/lvmtab is not correct.&lt;BR /&gt;&lt;BR /&gt;As suggested try a different minor number to create this volume group. If you have a phantom VG in /etc/lvmtab, then you can get rid of it by creating the directory structure with that device file, do a 'vgchange -a n vgxx' followed by 'vgexport vgxx'. If you don't have it in your lvmtab, then the next reboot should take care of the phantom VG.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 14 Jul 2004 03:57:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330877#M615274</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-07-14T03:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330878#M615275</link>
      <description>I have had a similar experience when the kernel parameter maxvgs was not set high enough for the  minor number being used even if there were not that number of vg's</description>
      <pubDate>Thu, 15 Jul 2004 03:00:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330878#M615275</guid>
      <dc:creator>Dean Johnson_10</dc:creator>
      <dc:date>2004-07-15T03:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: vgcreate error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330879#M615276</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;first thank'sa lot for all explaination.&lt;BR /&gt;&lt;BR /&gt;I passed maxvgs to 100 with sam utility (kernel configuration), create a new kernel and finaly i have reboot. after this i am able to create a volume group.&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;&lt;BR /&gt;JÃ©rÃ´me Philipp</description>
      <pubDate>Thu, 13 Apr 2006 06:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgcreate-error/m-p/3330879#M615276</guid>
      <dc:creator>philipp_9</dc:creator>
      <dc:date>2006-04-13T06:36:02Z</dc:date>
    </item>
  </channel>
</rss>

