<?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 to import a cloned LUN in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172162#M600055</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I assume you are using CA or BCV. As long as the LVM header didn't change, the device changes wouldn't be an issue.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sandy</description>
    <pubDate>Wed, 02 Apr 2008 06:59:27 GMT</pubDate>
    <dc:creator>Sandy Chen</dc:creator>
    <dc:date>2008-04-02T06:59:27Z</dc:date>
    <item>
      <title>how to import a cloned LUN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172159#M600052</link>
      <description>Dear,&lt;BR /&gt;&lt;BR /&gt;in EVA3000, i created a LUN1 and presented to server1 (HPUX 11.23), created vg01 and have file system on it.&lt;BR /&gt;clone LUN1 to LUN2 and presented it to server2 (HPUX 11.23).&lt;BR /&gt;Question: is there any procedure to import LUN2 to server2 with vg01&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Tom</description>
      <pubDate>Wed, 02 Apr 2008 04:09:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172159#M600052</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-04-02T04:09:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to import a cloned LUN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172160#M600053</link>
      <description>Hi Tom,&lt;BR /&gt;&lt;BR /&gt;How do you clone LUN1 to LUN2?&lt;BR /&gt;&lt;BR /&gt;You could try this steps to export a mapfile of vg01 on the server1 to server 2:&lt;BR /&gt;&lt;BR /&gt;on server1:&lt;BR /&gt;# vgexport -s -p -v -m vg01.mapfile&lt;BR /&gt;&lt;BR /&gt;copy the file vg01.mapfile to server2, and then on the server2 run this:&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01 c 64 0x010000&lt;BR /&gt;# vgimport -s -v -m vg01.mapfile vg01&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sandy</description>
      <pubDate>Wed, 02 Apr 2008 06:15:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172160#M600053</guid>
      <dc:creator>Sandy Chen</dc:creator>
      <dc:date>2008-04-02T06:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to import a cloned LUN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172161#M600054</link>
      <description>Thanks Sandy,&lt;BR /&gt;&lt;BR /&gt;i clone it from EVA3000&lt;BR /&gt;when import the device file will be different.&lt;BR /&gt;what you going to do about it?&lt;BR /&gt;&lt;BR /&gt;Thanks-Tom</description>
      <pubDate>Wed, 02 Apr 2008 06:49:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172161#M600054</guid>
      <dc:creator>tom quach_1</dc:creator>
      <dc:date>2008-04-02T06:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to import a cloned LUN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172162#M600055</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I assume you are using CA or BCV. As long as the LVM header didn't change, the device changes wouldn't be an issue.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sandy</description>
      <pubDate>Wed, 02 Apr 2008 06:59:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172162#M600055</guid>
      <dc:creator>Sandy Chen</dc:creator>
      <dc:date>2008-04-02T06:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to import a cloned LUN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172163#M600056</link>
      <description>Bonjour Tom,&lt;BR /&gt;&lt;BR /&gt;In a vgimport operation the fact that the device file is not the same as original one has no side effect : the -s option of the vgimport will track the VGID written in the mapfile on all visible LUNs.&lt;BR /&gt;&lt;BR /&gt;But due to the fact that you have cloned the VG, it is a better pratice to change this VGID. For example you could have a cluster in the future and it does not support different VG having same VGID.&lt;BR /&gt;&lt;BR /&gt;If you change VGID, the vgimport with -s option will not work. You should work as follow on server2, assuming your cloned LUN is seen as cXtYdZ :&lt;BR /&gt;&lt;BR /&gt;# vgchgid /dev/rdsk/cXtYdZ&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01 c 64 0x010000&lt;BR /&gt;# vgimport -v -m vg01.mapfile vg01 /dev/dsk/cXtYdZ&lt;BR /&gt;# vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;Note : if you have several LUNs in one VG, vgchgid and vgimport commands must be executed on all LUNs in a single pass. For exemple :&lt;BR /&gt;&lt;BR /&gt;# vgchgid /dev/rdsk/cXtYdZ /dev/rdsk/cAtBdC ...&lt;BR /&gt;# vgimport -v -m vg01.mapfile vg01 /dev/dsk/cXtYdZ /dev/dsk/cAtBdC ...&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Eric</description>
      <pubDate>Wed, 02 Apr 2008 08:20:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172163#M600056</guid>
      <dc:creator>Eric SAUBIGNAC</dc:creator>
      <dc:date>2008-04-02T08:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: how to import a cloned LUN</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172164#M600057</link>
      <description>With all of the above you should be successful.&lt;BR /&gt;&lt;BR /&gt;my 2 cents:&lt;BR /&gt;&lt;BR /&gt;"vg01" is just a name while you import this VG. You can even call it myfavouritevg or whatever, but it is a good practice to call them vg01 vg02 and so on and create a corresponding device number for it, e.g.&lt;BR /&gt;&lt;BR /&gt;# mknod /dev/vg01 c 64 0x010000&lt;BR /&gt;# mknod /dev/vg02 c 64 0x020000&lt;BR /&gt;# mknod /dev/vg03 c 64 0x030000</description>
      <pubDate>Wed, 02 Apr 2008 12:02:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-import-a-cloned-lun/m-p/4172164#M600057</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2008-04-02T12:02:10Z</dc:date>
    </item>
  </channel>
</rss>

