<?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 missing VG configuration in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131840#M628625</link>
    <description>#vgscan -v &lt;BR /&gt;to recreat the /etc/lvmtab&lt;BR /&gt;#strings /etc/lvmtab &lt;BR /&gt;to show the contents&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Sun, 30 Nov 2003 08:49:00 GMT</pubDate>
    <dc:creator>Norman_21</dc:creator>
    <dc:date>2003-11-30T08:49:00Z</dc:date>
    <item>
      <title>Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131838#M628623</link>
      <description>I created a new VG with one logical volume and by mistake someone deleted this volume group using:&lt;BR /&gt;$rm -r /dev/vgxxx&lt;BR /&gt;&lt;BR /&gt;but that's still remaining in /etc/lvmtab and other configuration files, so how I can delete that configuration for this volume group to recreate it again?</description>
      <pubDate>Sun, 30 Nov 2003 08:35:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131838#M628623</guid>
      <dc:creator>STC ITRC user_1</dc:creator>
      <dc:date>2003-11-30T08:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131839#M628624</link>
      <description>Salams Abdul,&lt;BR /&gt;&lt;BR /&gt;You do not need to remove the configuration, do the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vg01&lt;BR /&gt;#mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;#vgcreate /dev/vg01 /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;This will create a new VG. then create a map file, it'll help you for a quick restore in the future.&lt;BR /&gt;#vgexport -p -v -s -m /etc/vg01.map /dev/vg01&lt;BR /&gt;When you restore&lt;BR /&gt;#vgimport -p -v -s -m /etc/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Good luck&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Nov 2003 08:46:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131839#M628624</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-11-30T08:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131840#M628625</link>
      <description>#vgscan -v &lt;BR /&gt;to recreat the /etc/lvmtab&lt;BR /&gt;#strings /etc/lvmtab &lt;BR /&gt;to show the contents&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Nov 2003 08:49:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131840#M628625</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-11-30T08:49:00Z</dc:date>
    </item>
    <item>
      <title>Re: Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131841#M628626</link>
      <description>Abdul,&lt;BR /&gt;&lt;BR /&gt;Try this, you might be able to import the old VG configuration:&lt;BR /&gt;&lt;BR /&gt;#vgimport -v /dev/vg01 /dev/dsk/cxtxdx&lt;BR /&gt;to import the old VG to your HD&lt;BR /&gt;#vgchange -a y vg01&lt;BR /&gt;to activate vg01&lt;BR /&gt;&lt;BR /&gt;Please keep us updated!&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Nov 2003 08:57:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131841#M628626</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-11-30T08:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131842#M628627</link>
      <description>I'm not sure what XMAN is trying to do..  I agree with his last option only, the other two will dig the hole a little deeper!&lt;BR /&gt;&lt;BR /&gt;IF the user ONLY deleted the volume group directory /dev/vgxx, then there are two options.&lt;BR /&gt;&lt;BR /&gt;1 - Recreate dir /dev/vgxx, this method has a cowboy hat &amp;amp; spurs to go with it, but is the most direct method .. HP might balk though&lt;BR /&gt;# mkdir /dev/vgxx&lt;BR /&gt;# mknod /dev/vgxx/group c 64 0x??0000&lt;BR /&gt;where ?? is unique (do ls -l /dev/vg*/group)&lt;BR /&gt;# mknod /dev/vgxx/rlvol1 c 64 0x??0001&lt;BR /&gt;# mknod /dev/vgxx/lvol1 b 64 0x??0001&lt;BR /&gt;# vgchange -a y vgxx&lt;BR /&gt;&lt;BR /&gt;2 Variation of above, still a cowboy!&lt;BR /&gt;restore /dev/vgxx from tape backup.&lt;BR /&gt;&lt;BR /&gt;3 - Less "ye-ha" more "HP"&lt;BR /&gt;# mkdir /dev/vgxx&lt;BR /&gt;# mknod /dev/vgxx/group c 64 0x??0000&lt;BR /&gt;where ?? is unique (do ls -l /dev/vg*/group)&lt;BR /&gt;# vgimport /dev/vgxx /dev/dsk/cXtYdZ (other disks if appropriate)&lt;BR /&gt;# vgchange -a y vgxx&lt;BR /&gt;&lt;BR /&gt;** DO NOT DO pvcreate on the disks, if you do so the hole just gets REALLY DEEP **&lt;BR /&gt;&lt;BR /&gt;ALL methods may suffer from the problem that the kernel has probably already registered the OLD minor number and has effectively LOCKD it in.  If so, just use another (unique) minor number (a minor number is 0x??0000 &amp;amp; ?? is what may be locked in kernel)&lt;BR /&gt;&lt;BR /&gt;Good luck &amp;amp; chop off the fingers or remove root access from the guy/gal that did rm -r /dev/vgxx...&lt;BR /&gt;&lt;BR /&gt;Tim</description>
      <pubDate>Sun, 30 Nov 2003 11:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131842#M628627</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2003-11-30T11:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131843#M628628</link>
      <description>Tim,&lt;BR /&gt;&lt;BR /&gt;I appreciate your CowBoy Moves!!! but if you realize at the end of his question, he is asking to remove the old configuration from the /etc/lvmtab so that's why I posted&lt;BR /&gt;vgscan -v&lt;BR /&gt;&lt;BR /&gt;Abdul,&lt;BR /&gt;Please tell us how you fixed it!!!&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;</description>
      <pubDate>Sun, 30 Nov 2003 14:47:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131843#M628628</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-11-30T14:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131844#M628629</link>
      <description>Thnx XMAN &amp;amp; Tim,&lt;BR /&gt;&lt;BR /&gt;Appreciate your help but Tim is giving the correct answer.&lt;BR /&gt;Hope we are dealing as one internationatiol team work, so no bother who is giving the correct answer.&lt;BR /&gt;&lt;BR /&gt;~Abdullah</description>
      <pubDate>Mon, 01 Dec 2003 01:55:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131844#M628629</guid>
      <dc:creator>STC ITRC user_1</dc:creator>
      <dc:date>2003-12-01T01:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing missing VG configuration</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131845#M628630</link>
      <description>Maybe I didn't understand your post.&lt;BR /&gt;Take it easy pale!&lt;BR /&gt;Asalam Alaikum&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Dec 2003 02:30:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removing-missing-vg-configuration/m-p/3131845#M628630</guid>
      <dc:creator>Norman_21</dc:creator>
      <dc:date>2003-12-01T02:30:39Z</dc:date>
    </item>
  </channel>
</rss>

