<?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: export vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559906#M29249</link>
    <description>If your wanting to create a mapfile for later vgimporting you may want to use a command something like this:&lt;BR /&gt;&lt;BR /&gt;vgexport -pvs -m /etc/lvmconf/vg_ _ _.map  /dev/vg_ _&lt;BR /&gt;&lt;BR /&gt;Above create for volgroup /dev/vg_ _  and places this mapfile in /etc/lvmconf&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Rita</description>
    <pubDate>Wed, 01 Aug 2001 13:32:04 GMT</pubDate>
    <dc:creator>Rita C Workman</dc:creator>
    <dc:date>2001-08-01T13:32:04Z</dc:date>
    <item>
      <title>export vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559903#M29246</link>
      <description>How do I export all my volume groups?&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2001 13:18:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559903#M29246</guid>
      <dc:creator>Jeff Hagstrom</dc:creator>
      <dc:date>2001-08-01T13:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: export vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559904#M29247</link>
      <description>Hi,&lt;BR /&gt;You should use vgexport command exporting all volume groups one by one (creating separate map files). Check man pages for vgexport.</description>
      <pubDate>Wed, 01 Aug 2001 13:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559904#M29247</guid>
      <dc:creator>Marcin Wicinski</dc:creator>
      <dc:date>2001-08-01T13:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: export vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559905#M29248</link>
      <description>Why do you want to export all your vg's?...What exactly do you mean?&lt;BR /&gt;&lt;BR /&gt;To try to answer your question&lt;BR /&gt;&lt;BR /&gt;Option 1####&lt;BR /&gt;# vgchange -a n &lt;VG&gt;&lt;BR /&gt;# vgexport &lt;VG&gt; &lt;BR /&gt;This will destroy the volume group &lt;VG&gt;&lt;BR /&gt;&lt;BR /&gt;# vgexport [-s] -p -v -m /tmp/&lt;VG&gt;.map &lt;VG&gt;&lt;BR /&gt;This will create a mapfile of your volume group &lt;VG&gt; in /tmp/&lt;VG&gt;.map but will not destroy it.  You can then import it using the mapfile (use vgimport)&lt;BR /&gt;&lt;BR /&gt;Option 2#####&lt;BR /&gt;but you might mean you want to NFS export your volume groups.  This is not strictly possible.  You can NFS export the logical volumes by&lt;BR /&gt; o Add the mount points to /etc/exports&lt;BR /&gt;# exportfs -av&lt;BR /&gt;&lt;BR /&gt;On the remote machine you can use NFS to import them or the automounter.&lt;BR /&gt;&lt;BR /&gt;Option 3####&lt;BR /&gt;Alternatively do you mean export (save) the data in a vg.  Again this is not strictly possible.  You can save the data on a filesystem.  There are lots of tools for this such as fbackup, Ignite-UX (make_tape_recovery), tar, cpio.....&lt;BR /&gt;&lt;BR /&gt;If you put a little more explaintion we/I may be able to help more&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Tim&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;&lt;/VG&gt;</description>
      <pubDate>Wed, 01 Aug 2001 13:31:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559905#M29248</guid>
      <dc:creator>Tim D Fulford</dc:creator>
      <dc:date>2001-08-01T13:31:08Z</dc:date>
    </item>
    <item>
      <title>Re: export vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559906#M29249</link>
      <description>If your wanting to create a mapfile for later vgimporting you may want to use a command something like this:&lt;BR /&gt;&lt;BR /&gt;vgexport -pvs -m /etc/lvmconf/vg_ _ _.map  /dev/vg_ _&lt;BR /&gt;&lt;BR /&gt;Above create for volgroup /dev/vg_ _  and places this mapfile in /etc/lvmconf&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Rita</description>
      <pubDate>Wed, 01 Aug 2001 13:32:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559906#M29249</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2001-08-01T13:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: export vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559907#M29250</link>
      <description>Hi Jeff:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;for V in `vgdisplay|awk '/dev/ {print $3}'`&lt;BR /&gt;do&lt;BR /&gt;  echo $V&lt;BR /&gt;  M=`echo $V|tr -d "/"`&lt;BR /&gt;  echo -m /tmp/${M}.mapfile $V&lt;BR /&gt;done&lt;BR /&gt;#.end.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 01 Aug 2001 13:37:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559907#M29250</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-01T13:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: export vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559908#M29251</link>
      <description>Hi (again) Jeff:&lt;BR /&gt;&lt;BR /&gt;Oops.  Let's take out the debugging.  The suggestion is this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;for V in `vgdisplay|awk '/dev/ {print $3}'`&lt;BR /&gt;do&lt;BR /&gt;  M=`echo $V|tr -d "/"`&lt;BR /&gt;  vgexport -m /tmp/${M}.mapfile $V&lt;BR /&gt;done&lt;BR /&gt;#.end.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 01 Aug 2001 13:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559908#M29251</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-08-01T13:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: export vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559909#M29252</link>
      <description>HI&lt;BR /&gt;vgexport command will help you in exporting volume groups.&lt;BR /&gt;&lt;BR /&gt;To export vg01 from system by creating a map file use.&lt;BR /&gt;#vgexport -m /tmp/vg01.map vg01&lt;BR /&gt;&lt;BR /&gt;To just create the map file use&lt;BR /&gt;#vgexport -p -v -m /tmp/vg01.map vg01&lt;BR /&gt;&lt;BR /&gt;If you want to export VGs from one machine in a cluster to be imported on another machine in cluster use.&lt;BR /&gt;#vgexport -s -p -m -v /tmp/vg01.map vg01&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Aug 2001 13:50:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/export-vg/m-p/2559909#M29252</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-08-01T13:50:58Z</dc:date>
    </item>
  </channel>
</rss>

