<?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: How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877396#M100002</link>
    <description>Glenn,&lt;BR /&gt;&lt;BR /&gt;The use of the -s option on both the import and export in my example will eliminate having to fool around with the device files.  The import will scan the LVM headers and construct the VGs for you.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 08 Jan 2003 19:33:23 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-01-08T19:33:23Z</dc:date>
    <item>
      <title>How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877392#M99998</link>
      <description>How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?  Will a vgexport work?</description>
      <pubDate>Wed, 08 Jan 2003 19:20:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877392#M99998</guid>
      <dc:creator>Glenn Mitchell_4</dc:creator>
      <dc:date>2003-01-08T19:20:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877393#M99999</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should be able to do a vgexport, install 11i, and then do a vgimport to get back your filesystems.  I've done it before on a cold install from 10.20 to 11.00, and it should work the same way going to 11i.  You'll just have to keep track of which PVs make up your VG now, and be able to correctly identify them after your installation of 11i.  After installing 11i, you'll need to do the mkdir in /dev for your vgname, and do the mknod for the group file with a unique minor number.  Then you'll be ready for your vgimport.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 19:28:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877393#M99999</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-01-08T19:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877394#M100000</link>
      <description>Glenn,&lt;BR /&gt;&lt;BR /&gt;Before you start the process, do a vgexport -p -s -m /tmp/vgNNmap /dev/vgNN.&lt;BR /&gt;&lt;BR /&gt;Then save the resulting mapfiles somewhere where you can get at them after the install.  Then all you need to do is:&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/vgNN&lt;BR /&gt;mknod /dev/vgNN/group c 64 0xNN0000&lt;BR /&gt;vgimport -s -m /tmp/vgNNmap /dev/vgNN&lt;BR /&gt;&lt;BR /&gt;That's all there is to it.&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 19:29:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877394#M100000</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-01-08T19:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877395#M100001</link>
      <description>Hi Glenn,&lt;BR /&gt;&lt;BR /&gt;Yes. Your vgexport and vgimport with the map files will work.&lt;BR /&gt;&lt;BR /&gt;Generate map files with various options and save them on another system.&lt;BR /&gt;&lt;BR /&gt;#vgexport -p -v -s -m /tmp/vg01.s.map vg01&lt;BR /&gt;#vgexport -p -v -m /tmp/vg01.map -f /tmp/vg01.disks&lt;BR /&gt;#ll /dev/vg*/group &amp;gt; /tmp/group.info&lt;BR /&gt;#cp /etc/fstab /tmp/fstab.old&lt;BR /&gt;&lt;BR /&gt;Copy vg01.s.map, vg01.map, group.info, fstab.old and vg01.disks to another system.&lt;BR /&gt;&lt;BR /&gt;Once you are done with installing 11i, import the volume groups back by following this process.&lt;BR /&gt;&lt;BR /&gt;Copy the above files into /tmp directory&lt;BR /&gt;&lt;BR /&gt;#mkdir /dev/vg01&lt;BR /&gt;#mknod /dev/vg01/group -c 64 0x0?0000&lt;BR /&gt;(use the group number from group.info file)&lt;BR /&gt;&lt;BR /&gt;Edit /tmp/vg01.disks and change the devices files. Only the controller numbers (cxx) will change. &lt;BR /&gt;#ioscan -fnC disk &amp;gt; /tmp/disk.out&lt;BR /&gt;Look at disk.out and see how the controller numbers got changed. So, modify vg01.disks accordingly. Once it is done import the vg.&lt;BR /&gt;&lt;BR /&gt;#vgimport -v -m /tmp/vg01.map -f /tmp/vg01.disks vg01&lt;BR /&gt;&lt;BR /&gt;If you are not sure about the disks, then you can import it with -s option.&lt;BR /&gt;&lt;BR /&gt;#vgimport -v -s -m /tmp/vg01.s.map vg01.&lt;BR /&gt;&lt;BR /&gt;This will scan the disks and import the ones that correspond to vg01.&lt;BR /&gt;&lt;BR /&gt;#vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;paste the entries corresponding to vg01 from  fstab.old into /etc/fstab&lt;BR /&gt;&lt;BR /&gt;#mount -a&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Jan 2003 19:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877395#M100001</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-08T19:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877396#M100002</link>
      <description>Glenn,&lt;BR /&gt;&lt;BR /&gt;The use of the -s option on both the import and export in my example will eliminate having to fool around with the device files.  The import will scan the LVM headers and construct the VGs for you.&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 08 Jan 2003 19:33:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877396#M100002</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-01-08T19:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877397#M100003</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Just a word of clarification.&lt;BR /&gt;&lt;BR /&gt;I do not encourage the use of "-s" option unless it is inevitable. If you have enabled load balancing by changing the alternate links on the old system, you will have to redo it again if you use -s option. However, by simply replacing the controller numbers in the -f output, you can get the exact configuration back with -f option.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Wed, 08 Jan 2003 19:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877397#M100003</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-08T19:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I keep my VG's intact when doing a cold upgrade from 10.20 to 11i?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877398#M100004</link>
      <description>I used the vgexport and vgimport going from 10.20 to 11.0.  As everyone else has said, it works great.  One problem we ran into was some extra characters in the map file made the vgimport fail.  We edited the map file and it worked fine.  I believe this has probably been fixed by a patch because I've not seen that problem again.&lt;BR /&gt;Keep in mind that alternate links do not provide load balancing.  They are just for failover.  You'll want to check all of your links when you are finished and maybe adjust them to balance the load on your controllers.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Jan 2003 15:28:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-keep-my-vg-s-intact-when-doing-a-cold-upgrade-from-10/m-p/2877398#M100004</guid>
      <dc:creator>Dave Wherry</dc:creator>
      <dc:date>2003-01-09T15:28:04Z</dc:date>
    </item>
  </channel>
</rss>

