<?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: moving disks in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588092#M647551</link>
    <description>this is what i get if i run vgexport... is this normal?&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -m /tmp/vg01.mapfile /dev/vg01&lt;BR /&gt;Beginning the export process on Volume Group "/dev/vg01".&lt;BR /&gt;Volume group "/dev/vg01" is still active.&lt;BR /&gt;/dev/dsk/c0t1d0</description>
    <pubDate>Thu, 04 Oct 2001 07:56:16 GMT</pubDate>
    <dc:creator>jim bidebo</dc:creator>
    <dc:date>2001-10-04T07:56:16Z</dc:date>
    <item>
      <title>moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588086#M647545</link>
      <description>running 10.20.&lt;BR /&gt;&lt;BR /&gt;going to move a volyme group to another computer. the volymegroup name is vg01 and got one pysical disk. on the vg is one logical volyme. (vg01 doesnt excist on the destination computer) &lt;BR /&gt;&lt;BR /&gt;which way should i go? what steps should i take before i remove the disk? and what steps should be made to add the disk to the new computer?</description>
      <pubDate>Tue, 02 Oct 2001 10:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588086#M647545</guid>
      <dc:creator>jim bidebo</dc:creator>
      <dc:date>2001-10-02T10:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588087#M647546</link>
      <description>&lt;BR /&gt;Easy. Simply unmount the lvol on the current system, devactivate the volume group and vgexport it.&lt;BR /&gt;&lt;BR /&gt;Move the disk to the new server, connect it up, ensure you can see if with ioscan and it has a device file (may have to use the insf command on it) then create a new /dev/vgXX directory and its group file (doesnt have to be vg01, could be any name, mknod /dev/vgXX/group c 64 0x0?0000 where the ? is unique - ensure other VG's arent using the same value), then vgimport vgXX  /dev/dsk/cXXXXX and your done! It will create the single logical volume which you can then mount.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Oct 2001 10:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588087#M647546</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2001-10-02T10:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588088#M647547</link>
      <description>Hi Jim:&lt;BR /&gt;&lt;BR /&gt;On the server that's going to give up the vg:&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -s -m /tmp/vg01.mapfile /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Then copy the mapfile to the receiving server and do:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;# vgimport -s -m /tmp/vg01.mapfile vg01&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;# vgcfgbackup vg01&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 02 Oct 2001 11:01:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588088#M647547</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-02T11:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588089#M647548</link>
      <description>Hi Jim:&lt;BR /&gt;&lt;BR /&gt;BTW, drop the '-s' option from the 'vgexport'/'vgimport'.  Doing so will remove the vg name from /etc/lvmtab and remove the associated device files from the exporting system.  The 's'harable option prevents this, and I don't think this is what you want.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 02 Oct 2001 11:13:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588089#M647548</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-10-02T11:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588090#M647549</link>
      <description>Another way which is very easy with your single volume group is to use SAM.  Simply shutdown the old system, remove the disk(s) and reconnect to the new system. Then power up the new system and run SAM. Go to the Disks then Volume Group menus, and finally, Action-&amp;gt;Import at which point SAM will scan all of your attached disks.&lt;BR /&gt;&lt;BR /&gt;SAM will display all the unknown volume groups by reading the VG signature at the front of each disk. Highlight the disk you want to import, then down below, fill in the volume group name (as in: vg01). If you used the default lvol1, lvol2, etc names then perform the task and the job is done.&lt;BR /&gt;&lt;BR /&gt;If you do not have standard lvol names, you can create the mapfile with vgexport as mentioned before, or you can simply rename the lvol files (be sure you rename rlvol and lvol), or manually create the mapfile.  It's format is incredibly simple:&lt;BR /&gt;&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;4 lvol4&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;which means you can manually create it.</description>
      <pubDate>Tue, 02 Oct 2001 13:28:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588090#M647549</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2001-10-02T13:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588091#M647550</link>
      <description>Hi Jim,&lt;BR /&gt;&lt;BR /&gt;Take a look at the thread below.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/48-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/48-toc.html&amp;amp;searchterms=Moving%20and%20Reconfiguring%20your%20disks&amp;amp;queryid=20011002-105402" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90742/B2355-90742_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90742/00/00/48-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90742/00/00/48-toc.html&amp;amp;searchterms=Moving%20and%20Reconfiguring%20your%20disks&amp;amp;queryid=20011002-105402&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Look for the section &lt;BR /&gt;&lt;BR /&gt;Tasks That You Can Perform Only with HP-UX Commands --&amp;gt; Moving and Reconfiguring Your Disks.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Oct 2001 16:53:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588091#M647550</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2001-10-02T16:53:36Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588092#M647551</link>
      <description>this is what i get if i run vgexport... is this normal?&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -m /tmp/vg01.mapfile /dev/vg01&lt;BR /&gt;Beginning the export process on Volume Group "/dev/vg01".&lt;BR /&gt;Volume group "/dev/vg01" is still active.&lt;BR /&gt;/dev/dsk/c0t1d0</description>
      <pubDate>Thu, 04 Oct 2001 07:56:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588092#M647551</guid>
      <dc:creator>jim bidebo</dc:creator>
      <dc:date>2001-10-04T07:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588093#M647552</link>
      <description>This is normal output from vgexport.  However, if you're planning on moving the VG and the disk out of your system, you'd have to also:&lt;BR /&gt;&lt;BR /&gt;umount all the filesystems from this VG&lt;BR /&gt;vgchange -a n VG (deactivate the VG)&lt;BR /&gt;then vgexport -s -m /tmp/vg.map VG&lt;BR /&gt;&lt;BR /&gt;then take the disk out and move it to the destination system.  Copy over the map file.&lt;BR /&gt;&lt;BR /&gt;mkdir /dev/VG&lt;BR /&gt;mknod /dev/VG/group c 64 0x0nn0000 where nn is unique&lt;BR /&gt;vgimport -s -m /tmp/vg.map VG&lt;BR /&gt;vgchange -a y VG&lt;BR /&gt;&lt;BR /&gt;then update the /etc/fstab file to include the mounts from this VG and finally mountall.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Thu, 04 Oct 2001 08:10:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588093#M647552</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-10-04T08:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588094#M647553</link>
      <description>Hi Jim,&lt;BR /&gt;Every thing is ok. The vgexport -p (preview) is used only to get the mapfile and the disks list. You may find the mapfile on the current directory&lt;BR /&gt;If you really want to export your vg, you'll have to desactivate it before :&lt;BR /&gt;vgchange -a n vgxx&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Fr?d?ric</description>
      <pubDate>Thu, 04 Oct 2001 08:11:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588094#M647553</guid>
      <dc:creator>Frederic Sevestre</dc:creator>
      <dc:date>2001-10-04T08:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: moving disks</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588095#M647554</link>
      <description>&lt;BR /&gt;- The first thing that you should know is the quantity of logical volumes you have in VG to care  &lt;BR /&gt;  &lt;BR /&gt;the above-mentioned to be able to execute with success the vgimport  &lt;BR /&gt;  &lt;BR /&gt;- I pass two it is to make the following steps  &lt;BR /&gt;  &lt;BR /&gt;mkdir /dev/VGNAME   &lt;BR /&gt;  &lt;BR /&gt;mknod /dev/VGNAME/group c 64 0x0nn0000   &lt;BR /&gt;  &lt;BR /&gt;vgimport -m /tmp/vgfile -v /dev/vgname /dev/dsk/cxtxdx  &lt;BR /&gt;  &lt;BR /&gt;The file vgfile can generate it manually and it should contain the following thing according to the quantity of lvols that you had in the VG.  &lt;BR /&gt;#cat /tmp/vginfo  &lt;BR /&gt;lvol1  &lt;BR /&gt;lvol2  &lt;BR /&gt;lvol3 etc...  &lt;BR /&gt;  &lt;BR /&gt;  &lt;BR /&gt;  &lt;BR /&gt;  &lt;BR /&gt; vgchange -a and vg01     &lt;BR /&gt;  &lt;BR /&gt;The file /etc/lvmtab is not necessary to generate it again because when the vgimport this file is executed it is upgraded.  &lt;BR /&gt;  &lt;BR /&gt;After this to carry out a fsck for each lvol and to verify the consistency of the filesystem  &lt;BR /&gt;</description>
      <pubDate>Thu, 04 Oct 2001 22:04:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/moving-disks/m-p/2588095#M647554</guid>
      <dc:creator>Isaac_4</dc:creator>
      <dc:date>2001-10-04T22:04:37Z</dc:date>
    </item>
  </channel>
</rss>

