<?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 question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156798#M566005</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a question around vgimport.   We're doing SAN Replication from one disksubsystem to another for Disaster Recovery.  (These disksubsystems are at different sites)&lt;BR /&gt;&lt;BR /&gt;When and if we need to failover to the DR site, we would use mapfiles from the original site and just vgimport against them to activate VG's and then mount filesystems and such.   &lt;BR /&gt;&lt;BR /&gt;The question we have is if we have to list out all the target /dev/dsk/c#t#d# when we do our vgimport if we use the following options with it?&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -s -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;/KPS</description>
    <pubDate>Thu, 12 Feb 2009 19:50:30 GMT</pubDate>
    <dc:creator>KPS</dc:creator>
    <dc:date>2009-02-12T19:50:30Z</dc:date>
    <item>
      <title>vgimport question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156798#M566005</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have a question around vgimport.   We're doing SAN Replication from one disksubsystem to another for Disaster Recovery.  (These disksubsystems are at different sites)&lt;BR /&gt;&lt;BR /&gt;When and if we need to failover to the DR site, we would use mapfiles from the original site and just vgimport against them to activate VG's and then mount filesystems and such.   &lt;BR /&gt;&lt;BR /&gt;The question we have is if we have to list out all the target /dev/dsk/c#t#d# when we do our vgimport if we use the following options with it?&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -s -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;/KPS</description>
      <pubDate>Thu, 12 Feb 2009 19:50:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156798#M566005</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2009-02-12T19:50:30Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156799#M566006</link>
      <description>Hi Kapil,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;if i understand correctly then you want to do a vgimport using the PV Names of the PV that fall to that VG and using the map file right?&lt;BR /&gt;&lt;BR /&gt;the option is -f but that is mutually exclusive with the -s option so make a point of that&lt;BR /&gt;&lt;BR /&gt;#vgexport -p -v -m /tmp/vgXX.map -f /tmp/vgXX.pvlist /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;this shall create a MAP file /dev/vgXX.map as well as the PV list file that is /tmp/vgXX.pvlist which shall contain all the PVs mentioned that are the part of the VG vgXX.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you can use the same combination of the map file and the PVlist file for the import at the othe place.&lt;BR /&gt;&lt;BR /&gt;rcp/ftp  thesw two filess /tmp/vgXX.map and /tmp/vgXX.pvlist on the target system and there do the following ot import&lt;BR /&gt;&lt;BR /&gt;#vgexport /dev/vgXX&lt;BR /&gt;#mkdir /dev/vgXX&lt;BR /&gt;#mknod /dev/vgXX/group c 64 0xYY0000&lt;BR /&gt;make sure that the minor no is kept same on both the Systems and is unique on one system.&lt;BR /&gt;#vgimport -v -n /tmp/vgXX.map -f /tmp/vgXX.pvlist /dev/vgXX&lt;BR /&gt;&lt;BR /&gt;regars&lt;BR /&gt;sujit</description>
      <pubDate>Thu, 12 Feb 2009 20:09:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156799#M566006</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-12T20:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156800#M566007</link>
      <description>What we're curious about is do we need to list the /dev/dsk/c#t#d# if we use the following syntax on the vgimport:&lt;BR /&gt;&lt;BR /&gt;vgimport -v -s -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;/KPS</description>
      <pubDate>Thu, 12 Feb 2009 20:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156800#M566007</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2009-02-12T20:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156801#M566008</link>
      <description>BTW, i forgot to mention that all the VG info from the failed site's devices would be on the devices at the failover site since that is being replicated over.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;/KPS</description>
      <pubDate>Thu, 12 Feb 2009 20:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156801#M566008</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2009-02-12T20:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156802#M566009</link>
      <description>Hi KPS&lt;BR /&gt;&lt;BR /&gt;vgimport -v -s -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;with this syntax you do not need to specify the PV Names.&lt;BR /&gt;&lt;BR /&gt;NOTE:&lt;BR /&gt;&lt;BR /&gt;but please check that the map file /tmp/vg01.map ( you cabn do a cat /tmp/vg01.map ) to have a look has an additional "Word" mentioning the VG-ID. Actually /tmp/vg01.map shall have a VG-ID in that once that is created as the result of the command vgexport -p -v -s -m /tmp/vg01.map /dev/vg01.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;note that the command&lt;BR /&gt;# vgimport -v -s -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;when executed , reads the VG-ID mentioned in the map file /tmp/vg01.map , scans all the disks in the system , probes for the VG-ID of all the Disks being scanned and imports in the VG /dev/vg01 only those PVs that match the VG-ID.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;but this can be confusing in case of the BC PVs as after the split the BC Volumes have the same VG-ID.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Please refer to the manpages of the command &lt;BR /&gt;vgimport and vgchgid for this.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;i am giving the links of the Online Man Pages&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/vgchgid.1M.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/vgchgid.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3921-60631/vgimport.1M.html" target="_blank"&gt;http://docs.hp.com/en/B3921-60631/vgimport.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Feb 2009 20:48:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156802#M566009</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-12T20:48:49Z</dc:date>
    </item>
    <item>
      <title>Re: vgimport question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156803#M566010</link>
      <description>Thanks these are SRDF Target devices so not sure if we'll have this issue or not.   I guess we'll give it a shot and find out.&lt;BR /&gt;&lt;BR /&gt;Thanks for your responses on this...&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;/KPS</description>
      <pubDate>Thu, 12 Feb 2009 21:14:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgimport-question/m-p/5156803#M566010</guid>
      <dc:creator>KPS</dc:creator>
      <dc:date>2009-02-12T21:14:23Z</dc:date>
    </item>
  </channel>
</rss>

