<?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: vgexport in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263655#M685205</link>
    <description>The -m option is only necessary if you use non-standard lvol names (other than lvol1, lvol2, etc.).  What I would do is:&lt;BR /&gt;&lt;BR /&gt;On source:&lt;BR /&gt;vgexport -s /dev/vg??&lt;BR /&gt;&lt;BR /&gt;On target:&lt;BR /&gt;mkdir /dev/vg??&lt;BR /&gt;mknod /dev/vg??/group c 64 0x??0000&lt;BR /&gt;vgimport -s /dev/vg??&lt;BR /&gt;vgchange -a y /dev/vg??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Fri, 05 Sep 2008 11:27:36 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2008-09-05T11:27:36Z</dc:date>
    <item>
      <title>vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263653#M685203</link>
      <description>I only have one lvol per vg.  question is if, on the secondary host, we use vgimport and list devices, on the primary do we need to do a vgexport -m.</description>
      <pubDate>Fri, 05 Sep 2008 11:09:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263653#M685203</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-09-05T11:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263654#M685204</link>
      <description>Yes, you need to do vgexport first then you can import that vg on another box.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;SKR</description>
      <pubDate>Fri, 05 Sep 2008 11:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263654#M685204</guid>
      <dc:creator>SKR_1</dc:creator>
      <dc:date>2008-09-05T11:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263655#M685205</link>
      <description>The -m option is only necessary if you use non-standard lvol names (other than lvol1, lvol2, etc.).  What I would do is:&lt;BR /&gt;&lt;BR /&gt;On source:&lt;BR /&gt;vgexport -s /dev/vg??&lt;BR /&gt;&lt;BR /&gt;On target:&lt;BR /&gt;mkdir /dev/vg??&lt;BR /&gt;mknod /dev/vg??/group c 64 0x??0000&lt;BR /&gt;vgimport -s /dev/vg??&lt;BR /&gt;vgchange -a y /dev/vg??&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 05 Sep 2008 11:27:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263655#M685205</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-09-05T11:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263656#M685206</link>
      <description>the -s takes to long we have over 28 vg.  The first one I stopped at 45min.  So Im looking for another option i.e. using vgimport and list devices.  So if I do that and the lvols are the default on the primary then there would be no need for vgexport?</description>
      <pubDate>Fri, 05 Sep 2008 11:33:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263656#M685206</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-09-05T11:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263657#M685207</link>
      <description>Are you planning on sharing them then?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 05 Sep 2008 11:39:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263657#M685207</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-09-05T11:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263658#M685208</link>
      <description>via ServiceGuard</description>
      <pubDate>Fri, 05 Sep 2008 11:41:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263658#M685208</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-09-05T11:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263659#M685209</link>
      <description>Then you definitely don't want to export.  I'm not a service guard expert so there may be some other considerations but I've always viewed the man page as being just plain wrong with regards to the -s option:&lt;BR /&gt;&lt;BR /&gt;"When the -s option is specified, then the -p, -v, and -m options must also be specified."&lt;BR /&gt;&lt;BR /&gt;That's totally untrue.&lt;BR /&gt;&lt;BR /&gt;I have to wonder what current (11iv3) man pages have to say about it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 05 Sep 2008 11:48:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263659#M685209</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-09-05T11:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263660#M685210</link>
      <description>I too have found the man pages very confusing in reference to the -s option.  It also states is only for the 8000 series.  thanks</description>
      <pubDate>Fri, 05 Sep 2008 11:52:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263660#M685210</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-09-05T11:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263661#M685211</link>
      <description>The v3 man page has been clarified, at least somewhat:&lt;BR /&gt;&lt;BR /&gt;"Using the format of the second command line of the SYNOPSIS above, the vgexport command generates a mapfile that can be copied to other systems that are part of a high availability cluster (use the -p option if you do not want to remove the volume group from the system the command is being run from) and the vgimport command (see vgimport (1M)) can be used to recreate the volume group.  See also vgchange (1M).  The mapfile contains a description of the volume group and its associated logical volume(s) (if nay).  The logical volume information found on the physical volumes is not modified."&lt;BR /&gt;&lt;BR /&gt;See &lt;A href="http://www.docs.hp.com/en/B2355-91020/B2355-91020.pdf" target="_blank"&gt;http://www.docs.hp.com/en/B2355-91020/B2355-91020.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 05 Sep 2008 12:04:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263661#M685211</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2008-09-05T12:04:09Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263662#M685212</link>
      <description>&lt;A href="https://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01037931-3" target="_blank"&gt;https://www11.itrc.hp.com/service/cki/docDisplay.do?docLocale=en&amp;amp;docId=emr_na-c01037931-3&lt;/A&gt;</description>
      <pubDate>Fri, 05 Sep 2008 12:18:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263662#M685212</guid>
      <dc:creator>Asif Sharif</dc:creator>
      <dc:date>2008-09-05T12:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263663#M685213</link>
      <description>Steven,&lt;BR /&gt;&lt;BR /&gt;If number of disks are huge then vgexport -s may take long time and it can hang also.&lt;BR /&gt;&lt;BR /&gt;What you can do here is take out vg -&amp;gt; disk mapping at primary node and import the same on secondary node.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 07 Sep 2008 09:39:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263663#M685213</guid>
      <dc:creator>Deepak Kr</dc:creator>
      <dc:date>2008-09-07T09:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263664#M685214</link>
      <description>using the vgexport and listing the disk.  then using the vgimport with those disk.  Dont think that would work because the secondary host needs the path as it would see them not as the primary.  From what I have seen, c00t0d0, the "c" is different between hosts and the "t" and "d" are the same.</description>
      <pubDate>Sun, 07 Sep 2008 12:14:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263664#M685214</guid>
      <dc:creator>Steven Boyer</dc:creator>
      <dc:date>2008-09-07T12:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263665#M685215</link>
      <description>Page 638 of the 1M man pages at &lt;A href="http://docs.hp.com/en/B2355-91020/B2355-91020.pdf" target="_blank"&gt;http://docs.hp.com/en/B2355-91020/B2355-91020.pdf&lt;/A&gt; give the capability of the vgimport command.&lt;BR /&gt;3 Possible syntaxes:&lt;BR /&gt;/usr/sbin/vgimport [-m mapfile] [-p] [-v] vg_name pv_path ...&lt;BR /&gt;/usr/sbin/vgimport [-m mapfile] [-p] [-v] [-f infile] vg_name&lt;BR /&gt;/usr/sbin/vgimport -m mapfile [-N] [-v] [-p] -s vg_name&lt;BR /&gt;&lt;BR /&gt;Pg 633 contains the vgexport man page.&lt;BR /&gt;vgexport has 2 syntaxes&lt;BR /&gt;/usr/sbin/vgexport [-m mapfile] [-p] [-v] [-f outfile] vg_name&lt;BR /&gt;/usr/sbin/vgexport -m mapfile -s [-p] [-v] vg_name&lt;BR /&gt;&lt;BR /&gt;Admittedly, the man page is obscure about the meaning of the -s option with respect to both vgexport and vgimport.&lt;BR /&gt;When used with vgexport, the -s option places the unique VGID of the referenced volume group at the top of the map file created with the -m option.&lt;BR /&gt;&lt;BR /&gt;When used with vgimport, the -s option instructs LVM to use the VGID in the first line of the map file as a reference as it scans all disks in the backplane for a matching VGID, loading matching device special file entries for such disks into the /etc/lvmtab file under the volume group name.&lt;BR /&gt;&lt;BR /&gt;When used with the –p option, vgexport -m merely creates a map file which contains a list of logical volumes and volume names.  It should take just a few seconds.&lt;BR /&gt;&lt;BR /&gt;If you find that a vgimport with the -s option is taking longer than you like, create a set of  files listing all physical volumes that match each volume group.  Then use vgimport with the –f option to specify the appropriate file name to import the referenced volume group.  This method means that you guarantee that all the listed disks are truly members of the volume group.  Use a map file to provide custom logical volume names, if any.  If none, then don't use the -m option and map file at all.&lt;BR /&gt;&lt;BR /&gt;The -s option, though possibly more lengthy to operate during vgimport removes a possibility of human error as LVM scans every disk for a matching VGID.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2008 01:58:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4263665#M685215</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2008-09-09T01:58:11Z</dc:date>
    </item>
  </channel>
</rss>

