<?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 problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614065#M619079</link>
    <description>Is this -s option a must while doing vgexport? In that case I think I am in soup now...:-(. How do I do a recovery now.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
    <pubDate>Mon, 29 Aug 2005 11:26:16 GMT</pubDate>
    <dc:creator>Ranjith_5</dc:creator>
    <dc:date>2005-08-29T11:26:16Z</dc:date>
    <item>
      <title>vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614059#M619073</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;After exporting my vg with a map file I am not able to find the vgid in the map file. Because of this I am not able to import vg again. &lt;BR /&gt;I used. I used the following command.&lt;BR /&gt;&lt;BR /&gt;#vgexport -v -m /tmp/vg08.map vg06&lt;BR /&gt;&lt;BR /&gt;After that when I try to import it again the following happens.&lt;BR /&gt;&lt;BR /&gt;vgimport -m /tmp/vg08.map /dev/vg06&lt;BR /&gt;vgimport: Unable to read the physical volume.dev/vg06&lt;BR /&gt;Anything went wrong????????&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Mon, 29 Aug 2005 11:14:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614059#M619073</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-08-29T11:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614060#M619074</link>
      <description>is vg06, i.e., the /dev/vg06/group file, created before attempting this vgimport ?</description>
      <pubDate>Mon, 29 Aug 2005 11:17:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614060#M619074</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-08-29T11:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614061#M619075</link>
      <description>mkdir /dev/vg06&lt;BR /&gt;mknod /dev/vg06/group c 64 0x060000&lt;BR /&gt;&lt;BR /&gt;did you do that??</description>
      <pubDate>Mon, 29 Aug 2005 11:18:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614061#M619075</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-08-29T11:18:28Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614062#M619076</link>
      <description>Did you create the group file?&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vg06&lt;BR /&gt;mknod /dev/vg06/group c 64 0x060000&lt;BR /&gt;- then -&lt;BR /&gt;vgimport&lt;BR /&gt;vgchange&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 29 Aug 2005 11:19:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614062#M619076</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-08-29T11:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614063#M619077</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;thanks for your prompt replys.&lt;BR /&gt;&lt;BR /&gt;I have done all the basic things for importing. like creating group file etc. Only thing i didnt do here was using the -s option.&lt;BR /&gt;&lt;BR /&gt;but in the man page it says &lt;BR /&gt;&lt;BR /&gt;-s  Sharable option, Series 800 only.  When the -s option is specified, then the -p, -v, and -moptions must also be specified.  A mapfile is created that can be used to create volume group entries on other systems in the high availability cluster (with the vgimport command).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Mon, 29 Aug 2005 11:23:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614063#M619077</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-08-29T11:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614064#M619078</link>
      <description>[this second reply is coming from the correct ITRC account, the other one is requested to be deleted already]&lt;BR /&gt;&lt;BR /&gt;yes :)&lt;BR /&gt;&lt;BR /&gt;You didn't export the disk map, didn't export the volume group with -s and that's why vgimport doesn't know where to look for the vg's PV's.&lt;BR /&gt;&lt;BR /&gt;use vgscan -vp to possibly find the vg's disks, and then give all of them as parameters for vgimport, like&lt;BR /&gt;vgimport -v -m /tmp/vg08.map /dev/vg06 /dev/dsk/c3t4d5 /dev/dsk/c3t4t6 [...]&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;florian &lt;BR /&gt;</description>
      <pubDate>Mon, 29 Aug 2005 11:24:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614064#M619078</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-08-29T11:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614065#M619079</link>
      <description>Is this -s option a must while doing vgexport? In that case I think I am in soup now...:-(. How do I do a recovery now.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Mon, 29 Aug 2005 11:26:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614065#M619079</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-08-29T11:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614066#M619080</link>
      <description>You don't *need* -s, more verbosely You need either -s or -f /tmp/disks.vg08.&lt;BR /&gt;&lt;BR /&gt;full examples:&lt;BR /&gt;&lt;BR /&gt;vgexport -v -s -m /tmp/vg08.map /dev/vg08&lt;BR /&gt;vgimport -v -s -m /tmp/vg08.map /dev/vg06&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;or:&lt;BR /&gt;vgexport -v -m /tmp/vg08.map -f /tmp/vg08.disks /dev/vg08&lt;BR /&gt;vgimport -v -m /tmp/vg08.map -f /tmp/vg08.disks /dev/vg06&lt;BR /&gt;&lt;BR /&gt;The problem without specifing either of these is that HP-UX doesn't know which disks the VG is to be found on.&lt;BR /&gt;&lt;BR /&gt;-s will include the VGID in /tmp/vg08.map and -f /tmp/vg08.map will write all the disk hardware paths that belong to the vg into /tmp/vg08.map. (*not* the PVIDs)</description>
      <pubDate>Mon, 29 Aug 2005 11:29:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614066#M619080</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-08-29T11:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614067#M619081</link>
      <description>The recory is most definitely running vgscan -v -p and just looking for the free disks there.&lt;BR /&gt;&lt;BR /&gt;alternatively there's vg data backups in /etc/lvmconf/.&lt;BR /&gt;&lt;BR /&gt;or You can simply recover an older /etc/lvmconf to /tmp and then read it using strings /tmp/lvmtab and pick vg08's old disks from there.&lt;BR /&gt;&lt;BR /&gt;last option would be to recover the VGID's from the disks using hex editor (I will have to look it up, but it's a easy process in the end)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--NOTES--&lt;BR /&gt;- do supply all disks for the vgimport, definitely don't miss any.&lt;BR /&gt;&lt;BR /&gt;- after vgimport worked, only do a vgchange -a r first, then re-count if all disks are in the vg, if not, stop right where You are.&lt;BR /&gt;&lt;BR /&gt;(no deep soup yet :)</description>
      <pubDate>Mon, 29 Aug 2005 11:36:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614067#M619081</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-08-29T11:36:11Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614068#M619082</link>
      <description>I have used vgexport hundreds of times without the -s, I believe the -s just preserves the VGID so when you are importing to a SG cluster then they all match.&lt;BR /&gt;&lt;BR /&gt;I have always specified the physical disks on the import.  Never questioned it.  How else would the vgimport know what to do.&lt;BR /&gt;&lt;BR /&gt;vgexport -m my.map /dev/vgxx&lt;BR /&gt;create new /dev/vgxx&lt;BR /&gt;mknod the control file&lt;BR /&gt;vgimport -m my.map /dev/vgxx /dev/dsk/cxtxd1 /dev/dsk/cxtxd2&lt;BR /&gt;&lt;BR /&gt;Never a problem.&lt;BR /&gt;&lt;BR /&gt;Tim&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Aug 2005 11:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614068#M619082</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2005-08-29T11:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614069#M619083</link>
      <description>yes, it of course works IF You supply the disks :)</description>
      <pubDate>Mon, 29 Aug 2005 11:59:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614069#M619083</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-08-29T11:59:45Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614070#M619084</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I imported it with &lt;BR /&gt;&lt;BR /&gt;#vgimport -v vg06 /dev/dsk/c12t4d7 /dev/dsk/c12t5d0 /dev/dsk/c12t5d1 /dev/dsk/c12t5d2 /dev/dsk/c12t5d3&lt;BR /&gt;&lt;BR /&gt;it worked..any way there were no useful data on this. But I never wanted to increasing my work by creating the luns on the storage and creating a lv from scratch.&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help. May god bless you.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Mon, 29 Aug 2005 12:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614070#M619084</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-08-29T12:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614071#M619085</link>
      <description>don't forget to add the alternate links, if there are any :)&lt;BR /&gt;&lt;BR /&gt;glad it worked out.</description>
      <pubDate>Mon, 29 Aug 2005 12:09:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614071#M619085</guid>
      <dc:creator>Florian Heigl (new acc)</dc:creator>
      <dc:date>2005-08-29T12:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614072#M619086</link>
      <description>The -s option eliminates the need to specify the disks.  While this is commonly used in a ServiceGuard environment (because the disk device files can be different on different hosts), it's nice to use on other servers too - especially if a volume group has a lot of disks.  Of course, the command takes a lot longer on bigger machines because the vgimport has to scan all drives, but it's worth it in my opinion.</description>
      <pubDate>Mon, 29 Aug 2005 14:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614072#M619086</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2005-08-29T14:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: vgexport problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614073#M619087</link>
      <description>You should use vgscan to scan and re-update your lvm configuration file &lt;BR /&gt;#vgscan&lt;BR /&gt;NOTe: &lt;BR /&gt;next time you should use vgexport with -p option.&lt;BR /&gt;HTH</description>
      <pubDate>Wed, 31 Aug 2005 01:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vgexport-problem/m-p/3614073#M619087</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2005-08-31T01:22:16Z</dc:date>
    </item>
  </channel>
</rss>

