<?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: error when using vgcreate. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342601#M565824</link>
    <description>hi &lt;BR /&gt;&lt;BR /&gt;in lines of What Matti has to say, i would also suggest the same as &lt;BR /&gt;&lt;BR /&gt;#vgexport /dev/vg01&lt;BR /&gt;#mkdir /dev/vg01&lt;BR /&gt;#mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;#vgcreate /dev/vg01 /dev/dsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;assuming that the disk /dev/dsk/c1t5d0 has no data u can also run a pvcreate on this &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;sujit</description>
    <pubDate>Thu, 22 Jan 2009 18:40:49 GMT</pubDate>
    <dc:creator>sujit kumar singh</dc:creator>
    <dc:date>2009-01-22T18:40:49Z</dc:date>
    <item>
      <title>error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342594#M565817</link>
      <description>hqlabbu2:&amp;gt; vgcreate vg01 /dev/dsk/c1t5d0&lt;BR /&gt;Increased the number of physical extents per physical volume to 4341.&lt;BR /&gt;vgcreate: Volume group "/dev/vg01" 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;</description>
      <pubDate>Thu, 22 Jan 2009 05:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342594#M565817</guid>
      <dc:creator>surendranath</dc:creator>
      <dc:date>2009-01-22T05:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342595#M565818</link>
      <description>it seems an error related to minor number. and comes generally when there is same minor number to another VG. post the command output here,&lt;BR /&gt;&lt;BR /&gt;#ll /dev/*/group</description>
      <pubDate>Thu, 22 Jan 2009 05:53:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342595#M565818</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-01-22T05:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342596#M565819</link>
      <description>hqlabbu2:&amp;gt; ll /dev/*/group&lt;BR /&gt;crw-r-----   1 root       sys         64 0x000000 Sep  3 17:23 /dev/vg00/group&lt;BR /&gt;crw-r--r--   1 root       sys         64 0x010000 Jan 22 00:21 /dev/vg01/group&lt;BR /&gt;hqlabbu2:&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jan 2009 05:54:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342596#M565819</guid>
      <dc:creator>surendranath</dc:creator>
      <dc:date>2009-01-22T05:54:58Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342597#M565820</link>
      <description>delete the group file first, &lt;BR /&gt;&lt;BR /&gt;#rm /dev/vg01/group&lt;BR /&gt;&lt;BR /&gt;then create again&lt;BR /&gt;&lt;BR /&gt;#mknod /dev/vg01/group c 64 0x010000</description>
      <pubDate>Thu, 22 Jan 2009 06:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342597#M565820</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2009-01-22T06:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342598#M565821</link>
      <description>hi &lt;BR /&gt;u can do like this&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vg02&lt;BR /&gt;#mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;#vgcreate /dev/vg02 /dev/dsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but before that the disk /dev/dsk/c1t5d0 should have been pvcreated if that is a new disk and that had not been being used in the system earlier&lt;BR /&gt;the pvcreate has to be done on a new disk befpre u can use this with vgcreate&lt;BR /&gt;#pvcreate /dev/rdsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;pvcreate creates the necessary LVM structures on a disk&lt;BR /&gt;&lt;BR /&gt;remeber that pvcreate is a dangerous command and if u use this by mistake on a disk already being used in a system u are sure to destroy all data on this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sujit</description>
      <pubDate>Thu, 22 Jan 2009 07:14:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342598#M565821</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-22T07:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342599#M565822</link>
      <description>The error message may appear because the /etc/lvmtab file contains information about another volume group whose group device file is/was using minor 0x010000. This volume group may have been removed using an improper procedure.&lt;BR /&gt;&lt;BR /&gt;To recover from this situation and make this VG minor number useable again, you may have to temporarily recreate the VG directory and the group file of that old VG and then run vgexport for that volume group.&lt;BR /&gt;&lt;BR /&gt;First, you must find out the name of the old volume group that is still in /etc/lvmtab. If you have HP-UX 11.31 with the latest updates, you can use "lvmadm -l"; otherwise, use "strings /etc/lvmtab" and ignore the garbage characters that may appear. Does this list display a VG that does not actually exist any more?&lt;BR /&gt;&lt;BR /&gt;If so, find the name of that VG (replace &lt;VGNAME&gt; with it in commands below) and run:&lt;BR /&gt;mkdir /dev/&lt;VGNAME&gt;&lt;BR /&gt;mknod /dev/&lt;VGNAME&gt;/group c 64 0x010000&lt;BR /&gt;vgexport -v -m /tmp/&lt;VGNAME&gt;.map &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;The vgexport command will remove the /dev/&lt;VGNAME&gt; directory and the old information from the /etc/lvmtab file.&lt;BR /&gt;(Warning: if &lt;VGNAME&gt; exists but is not active, this command will remove it. If you make a mistake, you may use your previous lvmtab listing and the /tmp/&lt;VGNAME&gt;.map file to restore it with the vgimport command.)&lt;BR /&gt;&lt;BR /&gt;After this, the minor number 0x010000 is again free for use, and you can complete the creation of vg01 as normal.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Thu, 22 Jan 2009 08:04:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342599#M565822</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-01-22T08:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342600#M565823</link>
      <description>Hi Matti,&lt;BR /&gt;&lt;BR /&gt;      I'm unable to use lvmadm -l command as OS is 11.11. when I do strings /etc/lvmtab doesnot show any old VG's. Two days ago, I deleted few VG's and their group files and rebooted the server.  Now, when I'm trying to recreate new volume group with that minor number.  It isn't allowing me to do so.  Could you please tell me whether is there any way to use that minor number?.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Jan 2009 16:17:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342600#M565823</guid>
      <dc:creator>surendranath</dc:creator>
      <dc:date>2009-01-22T16:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342601#M565824</link>
      <description>hi &lt;BR /&gt;&lt;BR /&gt;in lines of What Matti has to say, i would also suggest the same as &lt;BR /&gt;&lt;BR /&gt;#vgexport /dev/vg01&lt;BR /&gt;#mkdir /dev/vg01&lt;BR /&gt;#mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;#vgcreate /dev/vg01 /dev/dsk/c1t5d0&lt;BR /&gt;&lt;BR /&gt;assuming that the disk /dev/dsk/c1t5d0 has no data u can also run a pvcreate on this &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;sujit</description>
      <pubDate>Thu, 22 Jan 2009 18:40:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342601#M565824</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-22T18:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342602#M565825</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;how did u delete those VGs that u happened to do ?&lt;BR /&gt;&lt;BR /&gt;if a vG and the disks u do not want to use on a system, it is always suggested that u do a vgexport to remove the VG.&lt;BR /&gt;&lt;BR /&gt;that does few things &lt;BR /&gt;&lt;BR /&gt;removes the entry of the VG from the /etc/lvmtab&lt;BR /&gt;removes the /dev/vgXX and the corresponding raw and block special files for the LVs from in there.&lt;BR /&gt;&lt;BR /&gt;also it is a good practice to always do a vgexport in preview mode -p option with a 0m option so that u can get a map file of the VG.&lt;BR /&gt;this will save u lot of hard work if u have by mistake vgexport ed a wrong VG.&lt;BR /&gt;&lt;BR /&gt;Then u want to finally remove the VG then do a vgexport straight away.&lt;BR /&gt;&lt;BR /&gt;that is say vgXX u want tp remove from the system.&lt;BR /&gt;&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;#vgexport -p -v -s -m /tmp/vgXX.map /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;this will vgexport that VG in Preview mode and create a map file /tmp/VGxx.map for u .&lt;BR /&gt;&lt;BR /&gt;then do a vgexport to remove the VG from the system.&lt;BR /&gt;&lt;BR /&gt;#vgexport /dev/vgXX&lt;BR /&gt;Regards&lt;BR /&gt;Sujit</description>
      <pubDate>Thu, 22 Jan 2009 21:39:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342602#M565825</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-22T21:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342603#M565826</link>
      <description>Hi Matti,&lt;BR /&gt;&lt;BR /&gt;  I tried all the steps you have written.  I searched for all the map files in the server and found only one.  I tried all the commands you gave me using that map file but did not work.&lt;BR /&gt;hqlabbu2:&amp;gt; strings /etc/lvmtab&lt;BR /&gt;/dev/vg00&lt;BR /&gt;/dev/dsk/c1t6d0&lt;BR /&gt;/dev/dsk/c2t5d0&lt;BR /&gt;hqlabbu2:&amp;gt;&lt;BR /&gt;&lt;BR /&gt;hqlabbu2:&amp;gt; find / -name *.map&lt;BR /&gt;/etc/hpC2400/hparray.map&lt;BR /&gt;/usr/obam/X/etc/keytables/keytable.map&lt;BR /&gt;/var/stm/config/tools/monitor/ha_disk_array.map&lt;BR /&gt;/var/stm/config/tools/monitor/msamon.map&lt;BR /&gt;/.ssh/vgunload.map&lt;BR /&gt;&lt;BR /&gt;hqlabbu2:&amp;gt; mkdir /dev/vgunload&lt;BR /&gt;hqlabbu2:&amp;gt; rm -r /dev/vg01&lt;BR /&gt;hqlabbu2:&amp;gt; mknod /dev/vgunload/group c 64 0x010000&lt;BR /&gt;hqlabbu2:&amp;gt; vgexport -v -m /.ssh/vgunload.map /dev/vgunload&lt;BR /&gt;Beginning the export process on Volume Group "/dev/vgunload".&lt;BR /&gt;vgexport: Volume group "/dev/vgunload" does not exist in the "/etc/lvmtab" file.&lt;BR /&gt;vgexport: Couldn't export volume group "/dev/vgunload".&lt;BR /&gt;&lt;BR /&gt;hqlabbu2:&amp;gt; vgcreate /dev/vgunload /dev/dsk/c1t5d0&lt;BR /&gt;Increased the number of physical extents per physical volume to 4341.&lt;BR /&gt;vgcreate: Volume group "/dev/vgunload" 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;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Jan 2009 00:18:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342603#M565826</guid>
      <dc:creator>surendranath</dc:creator>
      <dc:date>2009-01-23T00:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342604#M565827</link>
      <description>helpful if u post the O/p of the following command&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;it seems that u have not properly exported all the Ealier VGs !!!&lt;BR /&gt;&lt;BR /&gt;#ll /etc/lvmconf/*&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit</description>
      <pubDate>Fri, 23 Jan 2009 06:05:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342604#M565827</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-01-23T06:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: error when using vgcreate.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342605#M565828</link>
      <description>hqlabbu2:&amp;gt; ll /etc/lvmconf/*&lt;BR /&gt;----------   1 root       sys              0 Sep  3 17:32 /etc/lvmconf/lvm_lock&lt;BR /&gt;-rw-------   1 root       sys         199680 Jan 22 20:09 /etc/lvmconf/vg00.conf&lt;BR /&gt;-rw-------   1 root       sys         199680 Jan 22 20:04 /etc/lvmconf/vg00.conf.old&lt;BR /&gt;hqlabbu2:&amp;gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jan 2009 04:33:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-when-using-vgcreate/m-p/4342605#M565828</guid>
      <dc:creator>surendranath</dc:creator>
      <dc:date>2009-01-24T04:33:18Z</dc:date>
    </item>
  </channel>
</rss>

