<?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: Looking for a proceedure to change LUNs in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105421#M444918</link>
    <description>You are pretty close and should test just in case.  I do not do it often enough say with 100%.&lt;BR /&gt;&lt;BR /&gt;deactivate vg(s)&lt;BR /&gt;vgexport ( with map files )&lt;BR /&gt;ioscan&lt;BR /&gt;insf&lt;BR /&gt;vgscan&lt;BR /&gt;vgimport vg(s) ( with map files )&lt;BR /&gt;&lt;BR /&gt;The vgscan should pick up the vgids on the disks then the import with no device options should pick up the correct new device files.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 24 Apr 2008 19:19:02 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2008-04-24T19:19:02Z</dc:date>
    <item>
      <title>Looking for a proceedure to change LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105420#M444917</link>
      <description>HPUX11.11&lt;BR /&gt;&lt;BR /&gt;I have 4 Luns and 2 FC cards&lt;BR /&gt;&lt;BR /&gt;luns are all configured to volume group /dev/vgeprod&lt;BR /&gt;&lt;BR /&gt;they luns are going to be moved to new hardward paths, thus getting new special files. So would this proceedure work?&lt;BR /&gt;&lt;BR /&gt;1 unmount the filesystems on vgeprod.&lt;BR /&gt;2 deactivate vgeprod&lt;BR /&gt;(have SAN group make config change)&lt;BR /&gt;3 ioscan to change LUNs to new path.&lt;BR /&gt;4 vgextend new devices to vgeprod&lt;BR /&gt;5 vgreduce old devices from vgeprod&lt;BR /&gt;6 activate vgeprod&lt;BR /&gt;7 mount filesystems</description>
      <pubDate>Thu, 24 Apr 2008 19:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105420#M444917</guid>
      <dc:creator>Erik_Smith</dc:creator>
      <dc:date>2008-04-24T19:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a proceedure to change LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105421#M444918</link>
      <description>You are pretty close and should test just in case.  I do not do it often enough say with 100%.&lt;BR /&gt;&lt;BR /&gt;deactivate vg(s)&lt;BR /&gt;vgexport ( with map files )&lt;BR /&gt;ioscan&lt;BR /&gt;insf&lt;BR /&gt;vgscan&lt;BR /&gt;vgimport vg(s) ( with map files )&lt;BR /&gt;&lt;BR /&gt;The vgscan should pick up the vgids on the disks then the import with no device options should pick up the correct new device files.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 24 Apr 2008 19:19:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105421#M444918</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-04-24T19:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a proceedure to change LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105422#M444919</link>
      <description>vgscan may not be a better option if there are large number of disk storage connected to the server since scan whole disks may take considerable time.&lt;BR /&gt;&lt;BR /&gt;Since only 4 LUNS are involved I would suggest the following:&lt;BR /&gt;&lt;BR /&gt;unmount&lt;BR /&gt;vgexport -v -m &lt;MAP file=""&gt; /dev/vgeprod&lt;BR /&gt;&lt;BR /&gt;Once the changes has been made&lt;BR /&gt;&lt;BR /&gt;insf -e&lt;BR /&gt;ioscan -fn (note down the disk device names for the vg vgeprod it won't be tough since only 4 LUNS are involved)&lt;BR /&gt;vgimport -v -m &lt;MAP file=""&gt; /dev/vgeprod &lt;DISK device="" names="" separated="" by="" space=""&gt;&lt;BR /&gt;&lt;BR /&gt;Make sure that you specify all the disk device names associated with this vg while executing vgimport.&lt;/DISK&gt;&lt;/MAP&gt;&lt;/MAP&gt;</description>
      <pubDate>Thu, 24 Apr 2008 23:01:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105422#M444919</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2008-04-24T23:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a proceedure to change LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105423#M444920</link>
      <description>Hi Erik,&lt;BR /&gt;&lt;BR /&gt;I think using a mapfile will be simpler in your case,&lt;BR /&gt;&lt;BR /&gt;1. create a mapfile using vgexport -s -p -v -m /tmp/vgeprod.mapfile&lt;BR /&gt;2. vgexport the vg, vgexport /dev/vgeprod&lt;BR /&gt;3. ioscan and insf for new lun H/W path&lt;BR /&gt;4. remove the old LUN h/w path with rmsf&lt;BR /&gt;5. mkdir /dev/vgeprod&lt;BR /&gt;6. mknod /dev/vgeprod c 64 0x??0000&lt;BR /&gt;7. vgimport from mapfile you have created: vgimport -s -v -m /tmp/vgeprod.mapfile /dev/vgeprod&lt;BR /&gt;8. mount filesystem&lt;BR /&gt;&lt;BR /&gt;Please do remember that if have multiple link, you will have to reconfigure the primary/alternate link for load balancing&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sandy</description>
      <pubDate>Fri, 25 Apr 2008 01:59:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105423#M444920</guid>
      <dc:creator>Sandy Chen</dc:creator>
      <dc:date>2008-04-25T01:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a proceedure to change LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105424#M444921</link>
      <description>thanks for the suggestions,&lt;BR /&gt;&lt;BR /&gt;Sandy, could you elaborate on steps 5 and 6, no one else mentioned these steps. Also what are the ?? referring to ?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 25 Apr 2008 10:48:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105424#M444921</guid>
      <dc:creator>Erik_Smith</dc:creator>
      <dc:date>2008-04-25T10:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a proceedure to change LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105425#M444922</link>
      <description>Sandy's reply is the most accurate one but it assumes that you have a basic LVM familiarity.&lt;BR /&gt;&lt;BR /&gt;As steps 1a and 1b you should do&lt;BR /&gt;&lt;BR /&gt;1a. deactivate the vgeprod "vgchange -a n ..."&lt;BR /&gt;1b. write down the minor number that vgeprod is using right now " ll /dev/vgeprod/group". This is where you get the 0x??0000 for step 6 or you can use any other unused number.&lt;BR /&gt;&lt;BR /&gt;Step 6 should be &lt;BR /&gt;mknod /dev/vgeprod/group c 64 0x??0000&lt;BR /&gt;Step 7, the -s option might not work, you will need the new hardware paths of the LUNs to vgimport from.</description>
      <pubDate>Fri, 25 Apr 2008 12:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105425#M444922</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-04-25T12:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a proceedure to change LUNs</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105426#M444923</link>
      <description>Thanks for the responses, it worked perfectly as follows! Points have been assigned.&lt;BR /&gt;&lt;BR /&gt;ll /dev/vgeprod - note 0x??0000 number&lt;BR /&gt;Unmount filesystems&lt;BR /&gt;deactivate volume group&lt;BR /&gt;create a mapfile using vgexport -s -p -v -m /tmp/vgeprod.mapfile&lt;BR /&gt;vgexport the vg, vgexport /dev/vgeprod&lt;BR /&gt;ioscan and insf for new lun H/W path&lt;BR /&gt;remove the old LUN h/w path with rmsf (optional)&lt;BR /&gt;mkdir /dev/vgeprod&lt;BR /&gt;mknod /dev/vgeprod c 64 0x??0000&lt;BR /&gt;vgimport from mapfile you have created: vgimport -s -v -m /tmp/vgeprod.mapfile /dev/vgeprod&lt;BR /&gt;mount filesystem &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 12 May 2008 14:45:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/looking-for-a-proceedure-to-change-luns/m-p/5105426#M444923</guid>
      <dc:creator>Erik_Smith</dc:creator>
      <dc:date>2008-05-12T14:45:48Z</dc:date>
    </item>
  </channel>
</rss>

