<?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 vgexport in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424956#M663758</link>
    <description>I have 8 alternate path for one LUN. But i have added only one path while creating vg. That path went down, so i am not able to access teh data. here the solution is like need to vgexport the info:&lt;BR /&gt;# vgexport -v -m /tmp/dboracl.map dboracle_vg&lt;BR /&gt;then &lt;BR /&gt;need to create dir&lt;BR /&gt;#mkdir /dev/dboraclenew&lt;BR /&gt;#mknod /dev/dboraclenew c 64 &lt;MINOR number=""&gt;&lt;BR /&gt;then&lt;BR /&gt;#vgimport -v -m /tmp/dboracle.map dboraclenew &lt;ALTERNATE path=""&gt;&lt;BR /&gt;then we nee to activate the vg..&lt;BR /&gt;&lt;BR /&gt;here my Question starts:&lt;BR /&gt;&lt;BR /&gt;we are copying the information of vg dboracle_vg to /tmp/dboracle.map while vgexport.&lt;BR /&gt;so if we vgimport the same information will be there in the file right( i mean to say, teh information about failed path will be there right) then how it will work.,......&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks in Advance&lt;/ALTERNATE&gt;&lt;/MINOR&gt;</description>
    <pubDate>Fri, 22 May 2009 11:30:22 GMT</pubDate>
    <dc:creator>bchinnat</dc:creator>
    <dc:date>2009-05-22T11:30:22Z</dc:date>
    <item>
      <title>vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424956#M663758</link>
      <description>I have 8 alternate path for one LUN. But i have added only one path while creating vg. That path went down, so i am not able to access teh data. here the solution is like need to vgexport the info:&lt;BR /&gt;# vgexport -v -m /tmp/dboracl.map dboracle_vg&lt;BR /&gt;then &lt;BR /&gt;need to create dir&lt;BR /&gt;#mkdir /dev/dboraclenew&lt;BR /&gt;#mknod /dev/dboraclenew c 64 &lt;MINOR number=""&gt;&lt;BR /&gt;then&lt;BR /&gt;#vgimport -v -m /tmp/dboracle.map dboraclenew &lt;ALTERNATE path=""&gt;&lt;BR /&gt;then we nee to activate the vg..&lt;BR /&gt;&lt;BR /&gt;here my Question starts:&lt;BR /&gt;&lt;BR /&gt;we are copying the information of vg dboracle_vg to /tmp/dboracle.map while vgexport.&lt;BR /&gt;so if we vgimport the same information will be there in the file right( i mean to say, teh information about failed path will be there right) then how it will work.,......&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks in Advance&lt;/ALTERNATE&gt;&lt;/MINOR&gt;</description>
      <pubDate>Fri, 22 May 2009 11:30:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424956#M663758</guid>
      <dc:creator>bchinnat</dc:creator>
      <dc:date>2009-05-22T11:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424957#M663759</link>
      <description>Yes the map file keeps track of the logical volumes in the VG. You can look at the contents of the map file it is a text file. The &lt;ALTERNATE path=""&gt; will become the new primary path.&lt;BR /&gt;&lt;BR /&gt;You should also add more pathes as alternate paths either on the same vgimport command or later with vgextend.&lt;/ALTERNATE&gt;</description>
      <pubDate>Fri, 22 May 2009 11:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424957#M663759</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-05-22T11:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424958#M663760</link>
      <description>Thanks for your reply... You mean to say the map file will not contain the information about the failed path.....&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 May 2009 11:42:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424958#M663760</guid>
      <dc:creator>bchinnat</dc:creator>
      <dc:date>2009-05-22T11:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424959#M663761</link>
      <description>No, the map file is a list of the LV names with their index number as they are on the physical disk. It does not contain any disk paths. Take a look at the map file.</description>
      <pubDate>Fri, 22 May 2009 11:50:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424959#M663761</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-05-22T11:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424960#M663762</link>
      <description>Hi Balasub,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;You mean to say the map file will not contain the information about the failed path.....&amp;lt;&amp;lt;&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;Yep. You are right. There are few options you can specify with vgexport. If you specify only -m, map file will contain only the logical volume names. With this map file, you need to specify the all the physical paths with vgimport command when you import it.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;#vgexport -p -v -m /tmp/vg01.map vg01&lt;BR /&gt;Result map will looks like this..&lt;BR /&gt;/# more /tmp/vg01.map&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;4 lvol4&lt;BR /&gt;5 lvol7&lt;BR /&gt;6 lvol8&lt;BR /&gt;7 lvol9&lt;BR /&gt;8 lvol10&lt;BR /&gt;5 lvol5&lt;BR /&gt;6 lvol6&lt;BR /&gt;#vgimport -v -m /tmp/vg01.map vg01 pvpath1 pvpath2 ...&lt;BR /&gt;&lt;BR /&gt;There is another option -s . If you specify -s with vgexport VGID will be included in the map file. With this map file, you don't need to specify the disks when you import. System will scan all the disks which contains the VGID and import it.&lt;BR /&gt;&lt;BR /&gt;#vgexport -p -v -s -m /tmp/vg01.map vg01&lt;BR /&gt;#more /tmp/vg01.map&lt;BR /&gt;VGID 286ef1244162b5ce&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;4 lvol4&lt;BR /&gt;5 lvol7&lt;BR /&gt;6 lvol8&lt;BR /&gt;7 lvol9&lt;BR /&gt;8 lvol10&lt;BR /&gt;5 lvol5&lt;BR /&gt;6 lvol6&lt;BR /&gt;&lt;BR /&gt;Second option is the preferred way. It will import with all the paths. If not you can add all the paths later on with vgextend.&lt;BR /&gt;</description>
      <pubDate>Fri, 22 May 2009 12:06:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424960#M663762</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-05-22T12:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424961#M663763</link>
      <description>Hi Again,&lt;BR /&gt;&lt;BR /&gt;There is another option with vgexport which is -f. If you specify -f with vgexport, it will write current set of the pv paths in output file. You can use the same file or modify the output with correct path and import it.&lt;BR /&gt;&lt;BR /&gt;Example:&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -f /tmp/vg01.out vg01&lt;BR /&gt;# more /tmp/vg01.out&lt;BR /&gt;/dev/dsk/c33t4d1&lt;BR /&gt;/dev/dsk/c31t4d1&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;#vgimport -v -f /tmp/vg01.out vg01&lt;BR /&gt;&lt;BR /&gt;You can use any of the above options depends on your convenient and import it.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 22 May 2009 12:15:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424961#M663763</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-05-22T12:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424962#M663764</link>
      <description>If you have 8 paths, why not just use vgextend to add one of the other 7 paths to this LUN to the vg?  This should enable you to access the data relatively quickly.&lt;BR /&gt;&lt;BR /&gt;Once the new path is part of the VG, you could try vgreducing the bad path out of the VG.</description>
      <pubDate>Fri, 22 May 2009 12:31:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424962#M663764</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2009-05-22T12:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424963#M663765</link>
      <description>Hi Patrick,&lt;BR /&gt;&lt;BR /&gt;Whether it will work, if only one path added , if it goes down dirctly adding the other path?</description>
      <pubDate>Fri, 22 May 2009 12:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424963#M663765</guid>
      <dc:creator>bchinnat</dc:creator>
      <dc:date>2009-05-22T12:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424964#M663766</link>
      <description>What is the status of the dboraclenew right now? Is the original path restored and is it up and available? Or you vgexported it already. Adding alternate paths as discussed above assumed that you had already exported the VG. If it is still active and available, all you need to do is add the alternate paths using vgextend as PAtrck mentioned.</description>
      <pubDate>Fri, 22 May 2009 12:57:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424964#M663766</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2009-05-22T12:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424965#M663767</link>
      <description>I had done the steps mentioned like vgexport and vgimport week back.. suddenly got doubt thats the reason i started the thread,,... If patrick method is correct then no other worry right, we can directly add the remaining path and vgreduce the failed path.... Thats what i am not able to check it right now because i had done that vgexport and import.... If you could confirm that the patrick method is correct then it is very good......</description>
      <pubDate>Fri, 22 May 2009 13:01:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424965#M663767</guid>
      <dc:creator>bchinnat</dc:creator>
      <dc:date>2009-05-22T13:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424966#M663768</link>
      <description>Patrick's method is the one that you should have used at the time of VG creation. If a SAN device presents itself with 8 paths, it is better for you if you add them all to your VG, so that if one or more goes bad, you should still have access to your disk.&lt;BR /&gt;&lt;BR /&gt;There is no reason why this method should not work right now, provided you have at least some of these 8 channels to your LUN available and working. vgexport and vgimport commands are not the right fit for your problem's solution.</description>
      <pubDate>Fri, 22 May 2009 13:10:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424966#M663768</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-05-22T13:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424967#M663769</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Yes. it is possible. When the primary path is down, only thing is, you cannot activate the volume group. But still you can add alternate paths using vgextend.&lt;BR /&gt;&lt;BR /&gt;You could have tried that.</description>
      <pubDate>Fri, 22 May 2009 13:13:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport/m-p/4424967#M663769</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-05-22T13:13:46Z</dc:date>
    </item>
  </channel>
</rss>

