<?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: vgimport in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256857#M685147</link>
    <description>What storage you are using.?&lt;BR /&gt;There would be some storage specific commands to find out the device name of the disks in the second node which corresponds the disk  device name in the first node.&lt;BR /&gt;&lt;BR /&gt;And then use -f option with disk file name while vgimport in the second node instead of using -s option&lt;BR /&gt;It will not scan all your disks and so it will be faster.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;John</description>
    <pubDate>Thu, 28 Aug 2008 08:52:27 GMT</pubDate>
    <dc:creator>john123</dc:creator>
    <dc:date>2008-08-28T08:52:27Z</dc:date>
    <item>
      <title>vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256844#M685134</link>
      <description>I have a one for one mapping for our VG with one PV.&lt;BR /&gt;&lt;BR /&gt;On the cluster partner I need to run vgimport with the vgname and device name. do I have to list all the devices with paths to the disk or just the first one</description>
      <pubDate>Sun, 24 Aug 2008 04:43:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256844#M685134</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-24T04:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256845#M685135</link>
      <description>Steven,&lt;BR /&gt;You didnt mention the version of OS, ans should differ for 11.11 and 11.31.&lt;BR /&gt;For 11.11, it has to be mentioned all paths.</description>
      <pubDate>Sun, 24 Aug 2008 06:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256845#M685135</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2008-08-24T06:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256846#M685136</link>
      <description>&lt;BR /&gt;Two choices:&lt;BR /&gt;&lt;BR /&gt;You can use -s option available in vgexport to search all required disk devives for you.&lt;BR /&gt;e.g.&lt;BR /&gt;vgexport -vpsm /tmp/map.file vgname&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;You can specify all the disks those are part of vg &lt;BR /&gt;&lt;BR /&gt;vgexport -vpm /tmp/map.file vgname disk lists&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;on all other cluster nodes:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vgname&lt;BR /&gt;#mknod /dev/vgoracle/group c 64 0x0x0000&lt;BR /&gt;&lt;BR /&gt;x= vg no.....check in /dev dir&lt;BR /&gt;&lt;BR /&gt;#vgimport -s -m /tmp/map.file /dev/vgname&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 24 Aug 2008 06:03:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256846#M685136</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-08-24T06:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256847#M685137</link>
      <description>Hi Steven&lt;BR /&gt;&lt;BR /&gt;following are the steps&lt;BR /&gt;first take the minor no from the node on which you are doing vgexport for that vg&lt;BR /&gt;&lt;BR /&gt;1) ll /dev/&lt;VGNAME&gt;/group&lt;BR /&gt;2)on primary node run the vgexport -v -s -p -m /tmp/&lt;VGNAME.MAP&gt;  &lt;VGNAME&gt;&lt;BR /&gt;&lt;BR /&gt;3) on another cluster node&lt;BR /&gt;run the following command &lt;BR /&gt;#ll /dev/vgname/group&lt;BR /&gt;take the major and minor no&lt;BR /&gt;#vgexport /dev/vgname&lt;BR /&gt;#mkdir /dev/vgname&lt;BR /&gt;#mknod /dev/vgname/group c &lt;MAJOR no=""&gt; &lt;MINOR no=""&gt; &lt;BR /&gt;#vgimport -s -m  /tmp/vgname.map /dev/vgpname&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Atul&lt;BR /&gt;&lt;/MINOR&gt;&lt;/MAJOR&gt;&lt;/VGNAME&gt;&lt;/VGNAME.MAP&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Mon, 25 Aug 2008 05:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256847#M685137</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2008-08-25T05:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256848#M685138</link>
      <description>Hi Steven,&lt;BR /&gt;&lt;BR /&gt;Yes if you have created the map file without -s option you need to specify only the disk device name /dev/dsk/cxtxdx. &lt;BR /&gt;&lt;BR /&gt;#vgimport -m /&lt;LOCATION of="" mapfile=""&gt; /&lt;VGDEVICE file="" location=""&gt; /dev/dsk/cxtxdx&lt;BR /&gt;&lt;BR /&gt;if you had exported the mapfiles&lt;BR /&gt;with -s option then no need to specify the disk device file name as -s would create map file with vgid's.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Prashanth&lt;BR /&gt;&lt;/VGDEVICE&gt;&lt;/LOCATION&gt;</description>
      <pubDate>Tue, 26 Aug 2008 13:58:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256848#M685138</guid>
      <dc:creator>Prashanth.D.S</dc:creator>
      <dc:date>2008-08-26T13:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256849#M685139</link>
      <description>if I use vgimport with the device file, why do I need to use the -m option for maps.</description>
      <pubDate>Wed, 27 Aug 2008 11:27:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256849#M685139</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-27T11:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256850#M685140</link>
      <description>because of the logical volumes.&lt;BR /&gt;for example if you do not use it the names of the logical volumes after the import will be the default - lvol 1 2 3 ...&lt;BR /&gt;&lt;BR /&gt;and if you use the -m option you will get the real names, as you have created them...&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2008 11:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256850#M685140</guid>
      <dc:creator>Anka</dc:creator>
      <dc:date>2008-08-27T11:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256851#M685141</link>
      <description>and this is faster than using the -s option.  what happens if I use the wrong device file</description>
      <pubDate>Wed, 27 Aug 2008 11:44:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256851#M685141</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-27T11:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256852#M685142</link>
      <description>Hi steven,&lt;BR /&gt;&lt;BR /&gt;Pls assign the points as per ITRC forum.It will encourage the people to give the ans and spend their valuable time.&lt;BR /&gt;&lt;BR /&gt;Reagrds&lt;BR /&gt;Atul &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2008 15:27:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256852#M685142</guid>
      <dc:creator>Prashanth Waugh</dc:creator>
      <dc:date>2008-08-27T15:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256853#M685143</link>
      <description>just do a&lt;BR /&gt;&lt;BR /&gt;vgexport -p -s -m /tm/vgXX.map /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;then scp the map file to the other server.&lt;BR /&gt;&lt;BR /&gt;then &lt;BR /&gt;&lt;BR /&gt;create the vg dir , ex. &lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;then create the group file, and then&lt;BR /&gt;&lt;BR /&gt;vgimport -s -m /tmp/vgXX.map /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;This is all in the serviceguard manuals that can be viewed and downloaded from ttp://docs.hp.com&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Aug 2008 15:57:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256853#M685143</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-27T15:57:41Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256854#M685144</link>
      <description>&amp;gt; and this is faster than using the -s option. &amp;gt; what happens if I use the wrong device file&lt;BR /&gt;&lt;BR /&gt;You want to use the -s on the vgexport so that it puts the vgid in the mapfile. then the vgimport will get the vgid and scan the disks looking for that vgid on the other host. the vgid is stored in the vgra is what will let each server know which disks belong to which volume groups.</description>
      <pubDate>Wed, 27 Aug 2008 16:03:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256854#M685144</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-27T16:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256855#M685145</link>
      <description>Yes I have those instructions and executed them but, this process was taking to long and I was looking for an alternative to using the -s option.  We have ~50 VG, the last guy to import a VG on our system said it took over 5hrs at that rate it will take over 3 weeks to import all our VG.</description>
      <pubDate>Wed, 27 Aug 2008 16:05:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256855#M685145</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-27T16:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256856#M685146</link>
      <description>Sorry, but I have never had a vgexport/vgimport take that long. But then again I have never had that many vg's. I assume the vgexport runs pretty fast, but the vgimport is what is taking so long. How many disks are presented to the host?&lt;BR /&gt;&lt;BR /&gt;ioscan -fuC disk | wc -l&lt;BR /&gt;&lt;BR /&gt;will give you a close figure. I guess if it has to scan a lot if disks that could take a while.</description>
      <pubDate>Wed, 27 Aug 2008 16:16:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256856#M685146</guid>
      <dc:creator>Court Campbell</dc:creator>
      <dc:date>2008-08-27T16:16:01Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256857#M685147</link>
      <description>What storage you are using.?&lt;BR /&gt;There would be some storage specific commands to find out the device name of the disks in the second node which corresponds the disk  device name in the first node.&lt;BR /&gt;&lt;BR /&gt;And then use -f option with disk file name while vgimport in the second node instead of using -s option&lt;BR /&gt;It will not scan all your disks and so it will be faster.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;John</description>
      <pubDate>Thu, 28 Aug 2008 08:52:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256857#M685147</guid>
      <dc:creator>john123</dc:creator>
      <dc:date>2008-08-28T08:52:27Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256858#M685148</link>
      <description>using the -f options on the partner isnt that using the device number as seen by the primary and not the partner.  &lt;BR /&gt;&lt;BR /&gt;Its my understanding that the partner needs to have the list of devices as seen by the partner not the primary.</description>
      <pubDate>Fri, 29 Aug 2008 17:28:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport/m-p/4256858#M685148</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-08-29T17:28:28Z</dc:date>
    </item>
  </channel>
</rss>

