<?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: Exporting Vg in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340177#M625405</link>
    <description>your steps are correct except use -s option also while you export the VG. This way when you import you do not have to give the new physical path for the hard disk because they will change. &lt;BR /&gt;&lt;BR /&gt;-s option will put the VGID in the map file and then when you import with -s option it will check all the disks that match the VGID and import all those disks without youi having to give the physical paths.&lt;BR /&gt;&lt;BR /&gt;just type vgimport -s -m mapfile /dev/newvgname when importing after moving.&lt;BR /&gt;</description>
    <pubDate>Sun, 25 Jul 2004 13:54:42 GMT</pubDate>
    <dc:creator>monasingh_1</dc:creator>
    <dc:date>2004-07-25T13:54:42Z</dc:date>
    <item>
      <title>Exporting Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340175#M625403</link>
      <description>Hi Guys&lt;BR /&gt;&lt;BR /&gt;one small help&lt;BR /&gt;&lt;BR /&gt;I have one hdd with one vg and 2 lvs on that.&lt;BR /&gt;Now i want to shift the hdd to other bayb in the disk array without loosing the data.&lt;BR /&gt;&lt;BR /&gt;Is the following proedure is fine&lt;BR /&gt;&lt;BR /&gt;1) unmount the fs on this vg ( i mean lv)&lt;BR /&gt;2) deacivate the vg&lt;BR /&gt;3) export the vg with -m option ( to create the map file)&lt;BR /&gt;4) physically connectb the hdd in other slot&lt;BR /&gt;5) import the vg with the new physical path.&lt;BR /&gt;&lt;BR /&gt;What is the significance of -s option.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Suraj</description>
      <pubDate>Sat, 24 Jul 2004 05:35:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340175#M625403</guid>
      <dc:creator>SYS ADMIN_7</dc:creator>
      <dc:date>2004-07-24T05:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340176#M625404</link>
      <description>Hi Suraj,&lt;BR /&gt;&lt;BR /&gt;1. Create Map File first.&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -m vgmapfilename /dev/vgxx&lt;BR /&gt;** Note the -p option here see man vgexport&lt;BR /&gt;&lt;BR /&gt;2. Unmount the Filesystems&lt;BR /&gt;&lt;BR /&gt;3. Deactivate the VG&lt;BR /&gt;&lt;BR /&gt;# vgchange -a n /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;4. Insert the HDD in new slot.&lt;BR /&gt;&lt;BR /&gt;5. Import the VG&lt;BR /&gt;&lt;BR /&gt;# vgimport -m vgmapfilename /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;6. Activate the VG&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;7. Mount the Filesystems.&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Sat, 24 Jul 2004 07:17:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340176#M625404</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-07-24T07:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340177#M625405</link>
      <description>your steps are correct except use -s option also while you export the VG. This way when you import you do not have to give the new physical path for the hard disk because they will change. &lt;BR /&gt;&lt;BR /&gt;-s option will put the VGID in the map file and then when you import with -s option it will check all the disks that match the VGID and import all those disks without youi having to give the physical paths.&lt;BR /&gt;&lt;BR /&gt;just type vgimport -s -m mapfile /dev/newvgname when importing after moving.&lt;BR /&gt;</description>
      <pubDate>Sun, 25 Jul 2004 13:54:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340177#M625405</guid>
      <dc:creator>monasingh_1</dc:creator>
      <dc:date>2004-07-25T13:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340178#M625406</link>
      <description>hi, &lt;BR /&gt;&lt;BR /&gt;i m not sure at 100% but if i have good memories i think vgexport and import -s is  the shared mode . This system is really cool when you have an array of disk and two servers . In fact with this option you can give the visibility of one vg on two servers . &lt;BR /&gt;&lt;BR /&gt;for example you have a vg with some fs. all the informations on your fs never change ,they are here only in order to be  consult: you want to mount it in read mode . &lt;BR /&gt;&lt;BR /&gt;You do a map on one server with -s options.  &lt;BR /&gt;you desactivate your vg&lt;BR /&gt;you import the vg on the second server. &lt;BR /&gt;you activate the vg in read modeon the twos &lt;BR /&gt;you mount in read mode . &lt;BR /&gt;it's okay &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;PS you can mount one in r/w and one in read, but if you write on one side, the other don't update the information. it's only a snapshot at mounted time &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sorry for my english</description>
      <pubDate>Sun, 25 Jul 2004 15:59:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340178#M625406</guid>
      <dc:creator>pétot stéphane</dc:creator>
      <dc:date>2004-07-25T15:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting Vg</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340179#M625407</link>
      <description>The -s option is for shared mode, however it's also very useful in this case.  With the -s option, there is no need to specify the devicefile when vgimporting.  Just use the -s option.  The system will go out and scan for the proper disks.</description>
      <pubDate>Mon, 26 Jul 2004 08:40:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-vg/m-p/3340179#M625407</guid>
      <dc:creator>Gary L. Paveza, Jr.</dc:creator>
      <dc:date>2004-07-26T08:40:38Z</dc:date>
    </item>
  </channel>
</rss>

