<?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: vg01 export /import in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978716#M632500</link>
    <description>Dan, &lt;BR /&gt;&lt;BR /&gt;  you actualyl DID do the mapping of the Volume Group... that was just an informational message telling you that the Volume Group is still active, but if you look, you'll see your mapfile in place.</description>
    <pubDate>Thu, 05 Jun 2003 14:08:11 GMT</pubDate>
    <dc:creator>Marco Santerre</dc:creator>
    <dc:date>2003-06-05T14:08:11Z</dc:date>
    <item>
      <title>vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978706#M632490</link>
      <description>I have a 10.20 box I plan on re-igniting&lt;BR /&gt;I have vg01 which is my /users dir mounted on&lt;BR /&gt;/dev/vg01/lvol2&lt;BR /&gt;(vg01/lvol1 is swap)&lt;BR /&gt;What are the steps before and after the re-ignite to recover vg01 and maintain access to the data on /vg01/lvol2 &lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2003 13:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978706#M632490</guid>
      <dc:creator>Jay Gray</dc:creator>
      <dc:date>2003-05-21T13:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978707#M632491</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you simply recovering onto the same hardware that was used when the Ignite recovery image was created, it is very likely that you will not need to do anything.&lt;BR /&gt;&lt;BR /&gt;That is, the Ignite 'make_tape_recovery' process will attempt to 'vgimport' non-vg00 volume groups for you.  As long as the hardware paths (device files) haven't changed, the import will be automatic.  If the disk device files do change (possible) then you merely need to manually 'vgimport' using the correct device files and the appropriate mapfile Ignite placed in 'etc/lvmconf/' directory.&lt;BR /&gt;&lt;BR /&gt;See the man pages for 'vgimport' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 21 May 2003 13:51:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978707#M632491</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-05-21T13:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978708#M632492</link>
      <description>Hi,&lt;BR /&gt;You did have swap on v00 yes?&lt;BR /&gt;make it primary swap again&lt;BR /&gt;&lt;BR /&gt;Look in /dev/vg01 the values of group:&lt;BR /&gt;ll group - you may need the minor number later&lt;BR /&gt;make a vgexport in a mapfile using -m &lt;MAPFILEMANE&gt;...&lt;BR /&gt;dont forget before reimporting to create vg01:&lt;BR /&gt;mkdir /dev/vg01&lt;BR /&gt;mknod /dev/vg01/group c 64 0x&lt;MINORNUBER&gt;&lt;BR /&gt;&lt;BR /&gt;then vgimport -m &lt;THENAMEOF mapfile=""&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;/THENAMEOF&gt;&lt;/MINORNUBER&gt;&lt;/MAPFILEMANE&gt;</description>
      <pubDate>Wed, 21 May 2003 13:52:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978708#M632492</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2003-05-21T13:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978709#M632493</link>
      <description>Hey Dan,&lt;BR /&gt;&lt;BR /&gt;I would make a good backup, but it has been my experience with Ignite that VG01 will be fine. That is as long as you don't pvcreate it's disk(s) or vgexport it. I have re-ignited many times before and when the box comes back up the lvols outside of vg00 are fine and mounted, ready to go. To be sure though, I definately recommend a good backup...just so you don't have a GOTCHA!&lt;BR /&gt;&lt;BR /&gt;Hope this helps!&lt;BR /&gt;-Bryan</description>
      <pubDate>Wed, 21 May 2003 13:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978709#M632493</guid>
      <dc:creator>Bryan D. Quinn</dc:creator>
      <dc:date>2003-05-21T13:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978710#M632494</link>
      <description>As long as you shut the box down in an orderly manner, the Ignite when it rebuilds should recreate the /dev/vg* entries and the /etc/fstab entries.&lt;BR /&gt;&lt;BR /&gt;The data on the disks will still be present (as long as you did not overwrite them by installing the OS on them).&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Wed, 21 May 2003 13:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978710#M632494</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-05-21T13:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978711#M632495</link>
      <description>On your old box:&lt;BR /&gt;&lt;BR /&gt;1) lp /etc/fstab &lt;BR /&gt;   strings /etc/lvmtab | lp&lt;BR /&gt;   bdf | lp&lt;BR /&gt;   vgdisplay -v /dev/vg01 |lp&lt;BR /&gt;   ioscan -k -C disk -fn | lp&lt;BR /&gt;(all of this can prove very useful later)&lt;BR /&gt;2) vgexport -p -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Copy the mapfile using ftp or tar to a safe place or put in somewhere in vg00 so that you will have it later. If your LVOL names are 'standard' lvol1, lvol2, ... the map file is optional.&lt;BR /&gt;&lt;BR /&gt;On your new box:&lt;BR /&gt;&lt;BR /&gt;3) cd /dev&lt;BR /&gt;   umask 022&lt;BR /&gt;   mkdir vg01&lt;BR /&gt;   cd vg01&lt;BR /&gt;   mknod group c 64 0x010000&lt;BR /&gt;   &lt;BR /&gt;The minor number 0x010000 must be unique; i.e. not used by vg00, vg02, ...&lt;BR /&gt;&lt;BR /&gt;   Restore your mapfile, vg01.map to /tmp (if needed).&lt;BR /&gt;&lt;BR /&gt;4) Using the disk device data listed in the vgdisplay output (or etc/lvmtab)&lt;BR /&gt;&lt;BR /&gt;vgimport -m /tmp/vg01.map -v /dev/vg01 /dev/dsk/c1t6d0 /dev/dsk/c2t6d0 (your disk devices will vary)&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;vgcfgbackup /dev/vg01&lt;BR /&gt;&lt;BR /&gt;using the fstab listing, edit /etc/fstab and add back any needed mount entries&lt;BR /&gt;&lt;BR /&gt;create the mountpoint directories using mkdir,&lt;BR /&gt;e.g. mkdir /user&lt;BR /&gt;&lt;BR /&gt;5) Mount the directories&lt;BR /&gt;  e.g. mount /user&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 21 May 2003 13:56:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978711#M632495</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-05-21T13:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978712#M632496</link>
      <description>Thanks for the advice.&lt;BR /&gt;Now would I also do the same if I wasnt intending on re-igniting  but just taking preventative measures incase of a harddrive failure? Restoring data takes longer than if I can just recover the vg01 information and remount the vols</description>
      <pubDate>Thu, 22 May 2003 17:40:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978712#M632496</guid>
      <dc:creator>Jay Gray</dc:creator>
      <dc:date>2003-05-22T17:40:34Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978713#M632497</link>
      <description>Hi Dan,&lt;BR /&gt;&lt;BR /&gt;I would add one minor thing to Clay's excellent post.&lt;BR /&gt;&lt;BR /&gt;Use -s in vgexport:&lt;BR /&gt;vgexport -s -p -m /etc/lvmconf/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;The -s will write the VGID into the map file which makes recovering vg01 faster IF the HW path changes. This causes vgimport to look for that VGID when it does the vgimport. Then you will not have to chase the new HW path down before vgimporting. This MUST always be done when you vgexport / vgimport to another host.&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 22 May 2003 18:14:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978713#M632497</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-05-22T18:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978714#M632498</link>
      <description>I tried the following&lt;BR /&gt;vgexport -s -p -m /etc/lvmconf/vg01.map /dev/vg01 &lt;BR /&gt;but it gives me /dev/vg01 is still active&lt;BR /&gt;&lt;BR /&gt;is there away I can do this without deactivating the volume group which is still used?</description>
      <pubDate>Thu, 05 Jun 2003 14:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978714#M632498</guid>
      <dc:creator>Jay Gray</dc:creator>
      <dc:date>2003-06-05T14:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978715#M632499</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The message about vg01 being active is just a warning.  It won't hurt anything.  You should be able to see the contents of your map file now.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Jun 2003 14:07:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978715#M632499</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-06-05T14:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978716#M632500</link>
      <description>Dan, &lt;BR /&gt;&lt;BR /&gt;  you actualyl DID do the mapping of the Volume Group... that was just an informational message telling you that the Volume Group is still active, but if you look, you'll see your mapfile in place.</description>
      <pubDate>Thu, 05 Jun 2003 14:08:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978716#M632500</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-06-05T14:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978717#M632501</link>
      <description>Dan,&lt;BR /&gt;&lt;BR /&gt;It does warn that the group is still active, but should create the files you specified.&lt;BR /&gt;&lt;BR /&gt;Can you check these and confirm they exist? There should be a list of disks produced as part of the 'vgexport' output to screen.&lt;BR /&gt;&lt;BR /&gt;Share and Enjoy! Ian</description>
      <pubDate>Thu, 05 Jun 2003 14:10:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978717#M632501</guid>
      <dc:creator>Ian Dennison_1</dc:creator>
      <dc:date>2003-06-05T14:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978718#M632502</link>
      <description>Yes the map file is there Thanks</description>
      <pubDate>Thu, 05 Jun 2003 14:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978718#M632502</guid>
      <dc:creator>Jay Gray</dc:creator>
      <dc:date>2003-06-05T14:22:01Z</dc:date>
    </item>
    <item>
      <title>Re: vg01 export /import</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978719#M632503</link>
      <description>Thanks for your help I worked like a charm. 1 more question is that I had a swap at vg01/lvol1  do I try to import that or just re create the swapp and assign it to vg01/lvol1?</description>
      <pubDate>Fri, 06 Jun 2003 18:20:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg01-export-import/m-p/2978719#M632503</guid>
      <dc:creator>Jay Gray</dc:creator>
      <dc:date>2003-06-06T18:20:04Z</dc:date>
    </item>
  </channel>
</rss>

