<?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 Vgimport issue!! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978361#M604552</link>
    <description>Hi,&lt;BR /&gt;On node1 i exported a FS using this command&lt;BR /&gt;vgexport -p -v -s -m vgtib2data.map /dev/vgtib2data&lt;BR /&gt;It exported successfully but when i use that map file to import the VG information on Node2 it imported succssfully but in /etc/lvmtab the VG is missing a Physical volume. But i can find this Physical volume on node2 when i do ioscan.&lt;BR /&gt;&lt;BR /&gt;On Node1 Strings /etc/lvmtab&lt;BR /&gt;/dev/vgtib2data&lt;BR /&gt;/dev/dsk/c19t0d3&lt;BR /&gt;/dev/dsk/c19t2d0&lt;BR /&gt;&lt;BR /&gt;On node after doing an import /etc/lvmtab&lt;BR /&gt;/dev/vgtib2data&lt;BR /&gt;/dev/dsk/c19t0d3&lt;BR /&gt;&lt;BR /&gt;When i issue this command &lt;BR /&gt;tppora50:/#vgimport /dev/vgtib2data/ /dev/dsk/c19t2d0&lt;BR /&gt;vgimport: Volume group "/dev/vgtib2data" already exists in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;But it's not present in strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;Please help me on this. Waiting for a quick response.&lt;BR /&gt;&lt;BR /&gt;Thanx in advance&lt;BR /&gt;</description>
    <pubDate>Tue, 10 Apr 2007 10:53:20 GMT</pubDate>
    <dc:creator>Fenny_1</dc:creator>
    <dc:date>2007-04-10T10:53:20Z</dc:date>
    <item>
      <title>Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978361#M604552</link>
      <description>Hi,&lt;BR /&gt;On node1 i exported a FS using this command&lt;BR /&gt;vgexport -p -v -s -m vgtib2data.map /dev/vgtib2data&lt;BR /&gt;It exported successfully but when i use that map file to import the VG information on Node2 it imported succssfully but in /etc/lvmtab the VG is missing a Physical volume. But i can find this Physical volume on node2 when i do ioscan.&lt;BR /&gt;&lt;BR /&gt;On Node1 Strings /etc/lvmtab&lt;BR /&gt;/dev/vgtib2data&lt;BR /&gt;/dev/dsk/c19t0d3&lt;BR /&gt;/dev/dsk/c19t2d0&lt;BR /&gt;&lt;BR /&gt;On node after doing an import /etc/lvmtab&lt;BR /&gt;/dev/vgtib2data&lt;BR /&gt;/dev/dsk/c19t0d3&lt;BR /&gt;&lt;BR /&gt;When i issue this command &lt;BR /&gt;tppora50:/#vgimport /dev/vgtib2data/ /dev/dsk/c19t2d0&lt;BR /&gt;vgimport: Volume group "/dev/vgtib2data" already exists in the "/etc/lvmtab" file.&lt;BR /&gt;&lt;BR /&gt;But it's not present in strings /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;Please help me on this. Waiting for a quick response.&lt;BR /&gt;&lt;BR /&gt;Thanx in advance&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Apr 2007 10:53:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978361#M604552</guid>
      <dc:creator>Fenny_1</dc:creator>
      <dc:date>2007-04-10T10:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978362#M604553</link>
      <description>How did you import the vg ? You cannot import a VG that is already in the /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;in Node2&lt;BR /&gt;&lt;BR /&gt;# rcp -p node1:/tmp/vgtib2data.map /tmp&lt;BR /&gt;# vgexport /dev/vgtib2data&lt;BR /&gt;# mkdir /dev/vgtib2data&lt;BR /&gt;# mknod /dev/vgtib2data/group c 64 0xNN0000&lt;BR /&gt;  NN==Minor number of the VG&lt;BR /&gt;# vgimport -v -s -m /tmp/vgtib2data.map /dev/vgtib2data&lt;BR /&gt;# vgchange -a r /dev/vgtib2data&lt;BR /&gt;# vgcfgbackup /dev/vgtib2data&lt;BR /&gt;# vgchange -a n /dev/vgtib2data&lt;BR /&gt;&lt;BR /&gt;Sundar.</description>
      <pubDate>Tue, 10 Apr 2007 10:58:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978362#M604553</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2007-04-10T10:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978363#M604554</link>
      <description>Hi Sundar,&lt;BR /&gt;I exported the VG first and then import it using the same commands which you mentioned in your email. But sumhow the Physical volume is not included on NODE /etc/lvmtab file.&lt;BR /&gt;&lt;BR /&gt;Please help me to resolve this</description>
      <pubDate>Tue, 10 Apr 2007 11:13:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978363#M604554</guid>
      <dc:creator>Fenny_1</dc:creator>
      <dc:date>2007-04-10T11:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978364#M604555</link>
      <description>Steps I do for this. &lt;BR /&gt;&lt;BR /&gt;1. create map file from Node1&lt;BR /&gt;   vgexport -pvs -m mapfile vgxx&lt;BR /&gt;2. copy map file to Nod2&lt;BR /&gt;3. vgchange -a n vgxx (Node 1)&lt;BR /&gt;   &lt;BR /&gt;&lt;BR /&gt;4. On Node 2 &lt;BR /&gt;   mkdir /dev/vgXX&lt;BR /&gt;   mknod /dev/vgxx/group c 64 0x(unique ID)&lt;BR /&gt;5. vgimport -vs -m (mapfile) /dev/vgxx  &lt;BR /&gt;6. vgchange -a y /dev/vgxx&lt;BR /&gt;7. verify with vgdisplay -v vgxx &lt;BR /&gt;&lt;BR /&gt;Having the same disk device files between&lt;BR /&gt;both nodes is unusual, not impossible. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Apr 2007 11:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978364#M604555</guid>
      <dc:creator>Steve Reynolds</dc:creator>
      <dc:date>2007-04-10T11:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978365#M604556</link>
      <description>It is rather unusual that you have the same device paths on both nodes but not impossible. Another thing to check is the uniqueness of the minor device number of the group node.&lt;BR /&gt;&lt;BR /&gt;Do an "ls -l /dev/vg*/group" and make absolutely certain the all minor device numbers are unique on any given host. It's not necessary that the minor device numbers for /dev/vgXX be the same on nodeA and nodeB but it is absolutely necessary that each VG on any given host is unique for that host. If this rule is violated, chaos is assurred.</description>
      <pubDate>Tue, 10 Apr 2007 12:04:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978365#M604556</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-10T12:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978366#M604557</link>
      <description>If the -s option is used with vgimport, then the device files doesn't matter. Vgimport matches the VGID in the map file with the VGID in the disks that the system sees.&lt;BR /&gt;&lt;BR /&gt;Is this a shared storage ?&lt;BR /&gt;&lt;BR /&gt;# echo "0x2008?4D" | adb /dev/dsk/c19t0d3&lt;BR /&gt;&lt;BR /&gt;# echo "0x2008?4D" | adb /dev/dsk/c19t2d0&lt;BR /&gt;&lt;BR /&gt;Compare the output of the above commands. The output should match except for the PVID.</description>
      <pubDate>Tue, 10 Apr 2007 12:06:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978366#M604557</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2007-04-10T12:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978367#M604558</link>
      <description>Make sure that both Nodes see the shared disk.</description>
      <pubDate>Tue, 10 Apr 2007 13:58:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978367#M604558</guid>
      <dc:creator>David Bellamy</dc:creator>
      <dc:date>2007-04-10T13:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Vgimport issue!!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978368#M604559</link>
      <description>Both nodes are getting the shared storage from EVA. And i checked with ioscan that the disk is there but when i import it it doesnt get included in the VG info in /etc/lvmtab</description>
      <pubDate>Wed, 11 Apr 2007 10:25:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-issue/m-p/3978368#M604559</guid>
      <dc:creator>Fenny_1</dc:creator>
      <dc:date>2007-04-11T10:25:21Z</dc:date>
    </item>
  </channel>
</rss>

