<?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: Device instance numbers in ioscan output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240729#M469697</link>
    <description>correct.. but the instance numbers used really is meaningless from an operational standpoint. If you like them all numbered in order, you need to run ioinit, otherwise, why bother?</description>
    <pubDate>Mon, 24 May 2010 20:52:20 GMT</pubDate>
    <dc:creator>Kevin Wright</dc:creator>
    <dc:date>2010-05-24T20:52:20Z</dc:date>
    <item>
      <title>Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240723#M469691</link>
      <description>&lt;!--!*#--&gt;Hi.&lt;BR /&gt;&lt;BR /&gt;On our system we have replaced the SAN fabric and therefore all of the original paths to the disks are no longer present. After the fabric was replaced, I went through the following procedure to regain access to the disks:&lt;BR /&gt;&lt;BR /&gt;- vgexport (all san based volume groups)&lt;BR /&gt;- for i in $(ls /dev/dsk); do rmsf -a $i; done&lt;BR /&gt;- ioscan -fnC disk&lt;BR /&gt;- insf -e -C disk&lt;BR /&gt;- vgimport (using map files)&lt;BR /&gt;&lt;BR /&gt;This all worked successfully, but I noticed that in an `ioscan' output, the disk instance numbers ("I" column) seem to have skipped the original disks which are no longer visible. I am guessing that these are somehow still "defined" somewhere in the system. See the following `ioscan' output:&lt;BR /&gt;&lt;BR /&gt;Class  I   H/W Path...  Description&lt;BR /&gt;===================================&lt;BR /&gt;disk   1   0/0/2/0....  &lt;INTERNAL disk=""&gt;&lt;BR /&gt;disk   2   0/0/2/0....  &lt;INTERNAL disk=""&gt;&lt;BR /&gt;disk   473 0/2/0/0....  &lt;SAN disk=""&gt;&lt;BR /&gt;disk   474 0/2/0/0....  &lt;SAN disk=""&gt;&lt;BR /&gt;[...]&lt;BR /&gt;&lt;BR /&gt;Notice that the instance numbers start at 473. Before the SAN fabric was changed, they carried on from instance number 2 sequentially (i.e. 3, 4, 5, etc.).&lt;BR /&gt;&lt;BR /&gt;Is there a way that I can "remove" the definitions of these "invisible" disks and rescan?&lt;BR /&gt;&lt;BR /&gt;Any advice would be much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/SAN&gt;&lt;/SAN&gt;&lt;/INTERNAL&gt;&lt;/INTERNAL&gt;</description>
      <pubDate>Mon, 24 May 2010 12:14:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240723#M469691</guid>
      <dc:creator>pmcenery</dc:creator>
      <dc:date>2010-05-24T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240724#M469692</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;try using rmsf on the offending device files.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 24 May 2010 12:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240724#M469692</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2010-05-24T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240725#M469693</link>
      <description>You have to go through a ioinit device instance renumbering exercise. Search in these forums for "ioinit", "ioconfig" for details. These two threads might have everything you need.&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=425790" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=425790&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=26117" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=26117&lt;/A&gt;</description>
      <pubDate>Mon, 24 May 2010 12:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240725#M469693</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2010-05-24T12:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240726#M469694</link>
      <description>#rmsf -H &lt;HW path=""&gt;&lt;BR /&gt;or&lt;BR /&gt;#rmsf -a &lt;DEVICEFILE&gt;&lt;BR /&gt;&lt;BR /&gt;remove it also from if you have used EMC power path&lt;BR /&gt;&lt;BR /&gt;#powermt remove dev=c?t?d? &lt;BR /&gt;#powrmt check&lt;BR /&gt;#powermt save&lt;BR /&gt;&lt;/DEVICEFILE&gt;&lt;/HW&gt;</description>
      <pubDate>Mon, 24 May 2010 12:45:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240726#M469694</guid>
      <dc:creator>singh sanjeev</dc:creator>
      <dc:date>2010-05-24T12:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240727#M469695</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;If ioscan can see them then they are still active and being exported to your server from the disk array.&lt;BR /&gt;&lt;BR /&gt;Verify that the disk array is configured properly and then rmsf.&lt;BR /&gt;&lt;BR /&gt;Don't ioinit.  This is unnecessary.</description>
      <pubDate>Mon, 24 May 2010 12:45:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240727#M469695</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2010-05-24T12:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240728#M469696</link>
      <description>Thank you for all the replies.&lt;BR /&gt;&lt;BR /&gt;A couple of notes:&lt;BR /&gt;&lt;BR /&gt;1. ioscan can no longer see the "invisible" devices.&lt;BR /&gt;&lt;BR /&gt;2. /dev/dsk/* and /dev/rdsk/* have been rmsf'd.&lt;BR /&gt;&lt;BR /&gt;The instance numbers still somehow seem to be in use and are not reused. Are there some other /dev/??? devices that I should have removed?&lt;BR /&gt;&lt;BR /&gt;I even tried doing rmsf -k -H &lt;PATH_OF_HBA&gt; (for each hba).&lt;BR /&gt;&lt;BR /&gt;From what I can tell, the ioconfig approach seems to be the way forward. I'm assuming you need actual console access if you intend to rename /etc/ioconfig and /stand/ioconfig before shutting down the system.&lt;BR /&gt;&lt;BR /&gt;Many thanks.&lt;/PATH_OF_HBA&gt;</description>
      <pubDate>Mon, 24 May 2010 13:11:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240728#M469696</guid>
      <dc:creator>pmcenery</dc:creator>
      <dc:date>2010-05-24T13:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240729#M469697</link>
      <description>correct.. but the instance numbers used really is meaningless from an operational standpoint. If you like them all numbered in order, you need to run ioinit, otherwise, why bother?</description>
      <pubDate>Mon, 24 May 2010 20:52:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240729#M469697</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2010-05-24T20:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240730#M469698</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Leave it like it is. You shouldnt try to fix something, that isnt broken, well not in this case at least.&lt;BR /&gt;&lt;BR /&gt;Even the rmsf in the procedure isnt necessary, the OS doesnt care about the obsolete device files, therefor you shouldnt either.&lt;BR /&gt;&lt;BR /&gt;Greetz,&lt;BR /&gt;Chris&lt;BR /&gt;PS. The only thing that is missing from the procedure is a reboot of the system once the san paths were changed.</description>
      <pubDate>Mon, 24 May 2010 21:52:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240730#M469698</guid>
      <dc:creator>chris huys_4</dc:creator>
      <dc:date>2010-05-24T21:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240731#M469699</link>
      <description>The _only_ reason you should consider going through the ioinit rigmarole is if you are on 11.11 or 11.23 and running out of ext_bus instance numbers.&lt;BR /&gt;&lt;BR /&gt;You only get a maximum of 255 ext_bus instance numbers in 11.11 and 11.23, and if you have moved your LUNs around a _lot_ and have a _lot_ of LUNs it is possible to hit this limit. You can check how high you are now in ext_bus instances using:&lt;BR /&gt;&lt;BR /&gt;ioscan -kfC ext_bus&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Tue, 25 May 2010 05:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240731#M469699</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2010-05-25T05:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Device instance numbers in ioscan output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240732#M469700</link>
      <description>Many thanks for all the replies.&lt;BR /&gt;&lt;BR /&gt;I have decided not to go through the process of an ioinit, but I now know what needs to be done if I wanted to regain the missing instance numbers.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Paul.</description>
      <pubDate>Tue, 25 May 2010 09:20:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/device-instance-numbers-in-ioscan-output/m-p/5240732#M469700</guid>
      <dc:creator>pmcenery</dc:creator>
      <dc:date>2010-05-25T09:20:34Z</dc:date>
    </item>
  </channel>
</rss>

