<?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/vgimport in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976453#M4767</link>
    <description>Steps that should work for you.&lt;BR /&gt;&lt;BR /&gt;unmount vg01 filesystems&lt;BR /&gt;# umount /mnt_pt&lt;BR /&gt;&lt;BR /&gt;deactivate vg01&lt;BR /&gt;# vgchange -a n /dev/vg01&lt;BR /&gt;&lt;BR /&gt;export vg01&lt;BR /&gt;# vgexport -s -v -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Save the /tmp/vg01.map file to another box or tape.&lt;BR /&gt;&lt;BR /&gt;Save the info about your mount points&lt;BR /&gt;# grep vg01 /etc/fstab &amp;gt; /tmp/vg01.fstab&lt;BR /&gt;&lt;BR /&gt;perform your cold install, then import vg01.&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000 &lt;BR /&gt;&lt;BR /&gt;restore the vg01.map file&lt;BR /&gt;&lt;BR /&gt;# vgimport -s -v -m /dev/vg01.map /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Activate the vg&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Create the mount points and add the entries saved in /tmp/vg01.fstab to the /etc/fstab. Mount the filesystems.... you should be all set and able to access the data.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
    <pubDate>Mon, 19 May 2003 13:42:55 GMT</pubDate>
    <dc:creator>Denver Osborn</dc:creator>
    <dc:date>2003-05-19T13:42:55Z</dc:date>
    <item>
      <title>Vgexport/vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976452#M4766</link>
      <description>Hi guys &lt;BR /&gt;  I am rebiulding a server upgrading the operating system to 11i, i intend to do a fresh install and reload all relervant applications.&lt;BR /&gt;The question is that if i do a vgexport (vgexport -v -f outfile /dev/vg01) and the save out the the file to tape.&lt;BR /&gt;i then once os rebiult copy file back and do the normall mknod and create mount pionts.&lt;BR /&gt;Once complete if i run   &lt;BR /&gt;vgimport -v -m tmp/vg01.mapfile /dev/vg01            /dev/dsk/c0t5d0 /dev/dsk/c0t7d0&lt;BR /&gt;will this then import all the information needed to activate the volume group and therefore make all data that is currently on these disks available again, thus making it not necassary to restore data.&lt;BR /&gt;as this would be saving us a lot of time and take away some the data loss risk.&lt;BR /&gt;any help appeciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 May 2003 13:20:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976452#M4766</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-05-19T13:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Vgexport/vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976453#M4767</link>
      <description>Steps that should work for you.&lt;BR /&gt;&lt;BR /&gt;unmount vg01 filesystems&lt;BR /&gt;# umount /mnt_pt&lt;BR /&gt;&lt;BR /&gt;deactivate vg01&lt;BR /&gt;# vgchange -a n /dev/vg01&lt;BR /&gt;&lt;BR /&gt;export vg01&lt;BR /&gt;# vgexport -s -v -m /tmp/vg01.map /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Save the /tmp/vg01.map file to another box or tape.&lt;BR /&gt;&lt;BR /&gt;Save the info about your mount points&lt;BR /&gt;# grep vg01 /etc/fstab &amp;gt; /tmp/vg01.fstab&lt;BR /&gt;&lt;BR /&gt;perform your cold install, then import vg01.&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000 &lt;BR /&gt;&lt;BR /&gt;restore the vg01.map file&lt;BR /&gt;&lt;BR /&gt;# vgimport -s -v -m /dev/vg01.map /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Activate the vg&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;Create the mount points and add the entries saved in /tmp/vg01.fstab to the /etc/fstab. Mount the filesystems.... you should be all set and able to access the data.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Mon, 19 May 2003 13:42:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976453#M4767</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2003-05-19T13:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Vgexport/vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976454#M4768</link>
      <description>One quick point the vgimport, do i need to specify the disk device address at the end of vgimport command or does it get all that from the mapfile.&lt;BR /&gt;thanks&lt;BR /&gt;    andy</description>
      <pubDate>Mon, 19 May 2003 14:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976454#M4768</guid>
      <dc:creator>system administrator_15</dc:creator>
      <dc:date>2003-05-19T14:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Vgexport/vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976455#M4769</link>
      <description>If you use the "-s" option the map file will contain the VGID. The VGID will be used for importing the disks so you wouldn't need to specify disk devices.&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Mon, 19 May 2003 14:34:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976455#M4769</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2003-05-19T14:34:06Z</dc:date>
    </item>
    <item>
      <title>Re: Vgexport/vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976456#M4770</link>
      <description>Hello,&lt;BR /&gt;if you use the "-s" you don't have to specify the disk becuase they are searched using the VGID, saved in the mapfile.&lt;BR /&gt;&lt;BR /&gt;This is the meaning of the "vgexport -s".&lt;BR /&gt;&lt;BR /&gt;Otherwise do a vgexport -p -v -m MYmapfile -f MYdiskfile NYVG&lt;BR /&gt;&lt;BR /&gt; and keep those files.&lt;BR /&gt;&lt;BR /&gt;in the import&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/VGTT&lt;BR /&gt;mknod /dev/VGTT/group c 64 0xXX0000&lt;BR /&gt;vgimport -f MYdiskfile -m MYmapfile NYVG&lt;BR /&gt;&lt;BR /&gt;HTH, &lt;BR /&gt;Massimo&lt;BR /&gt;</description>
      <pubDate>Mon, 19 May 2003 14:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976456#M4770</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-05-19T14:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Vgexport/vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976457#M4771</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;beware though if you use the -f option to vgimport, you need check/edit the file with devicenames so that it reflects the correct devicenames after the cold install. &lt;BR /&gt;&lt;BR /&gt;The advantage of using -f is that you get full control over primary / alternate paths, for load sharing of the FC's .&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle&lt;BR /&gt;</description>
      <pubDate>Thu, 22 May 2003 08:25:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976457#M4771</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2003-05-22T08:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Vgexport/vgimport</title>
      <link>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976458#M4772</link>
      <description>Can anyone clarify if this process retains the original primary/alternate device config, ( eg for load balancing ) or would this need to be addressed afterwards.&lt;BR /&gt;&lt;BR /&gt;THanks</description>
      <pubDate>Thu, 18 Sep 2003 11:45:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/vgexport-vgimport/m-p/2976458#M4772</guid>
      <dc:creator>Open Systems</dc:creator>
      <dc:date>2003-09-18T11:45:00Z</dc:date>
    </item>
  </channel>
</rss>

