<?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 Instance number changing? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622987#M39094</link>
    <description>OK. Here is a stange one.&lt;BR /&gt;&lt;BR /&gt;At a off-site DR test.&lt;BR /&gt;&lt;BR /&gt;We restore omniback ....restore the operating system, create our filesystems, restore our database. We reboot the box and then.......&lt;BR /&gt;&lt;BR /&gt;the drives that we restored the database on changed address. We were told of no hardware changes done to the box. Which I do believe because of the output from I/O scan still should the same Hardware Path but the instance number changed which changed the device files.&lt;BR /&gt;&lt;BR /&gt;Prior to the reboot the ioscan looked like this. ( I will only show a one disk examble)&lt;BR /&gt;&lt;BR /&gt;Class   I   H/W Path    driver S/W State&lt;BR /&gt;###############################################&lt;BR /&gt;&lt;BR /&gt;disk    3   0/8/0/0.0.0 sdisk  claimed&lt;BR /&gt;                        /dev/dsk/c3t0d0&lt;BR /&gt;&lt;BR /&gt;after the reboot&lt;BR /&gt;Class   I   H/W Path    driver S/W State&lt;BR /&gt;###############################################&lt;BR /&gt;&lt;BR /&gt;disk    5   0/8/0/0.0.0 sdisk  claimed&lt;BR /&gt;                        /dev/dsk/c5t0d0&lt;BR /&gt;&lt;BR /&gt;I don't know of what OS files I restored or didn't restore that could change the instance number? Does anyone else? I am running HP-UX11.00 on a N-class box in production. The off-site box was a N-class box.&lt;BR /&gt;&lt;BR /&gt;The only thing I could think of to fix it in the short term was a vgexport and vgimport. However, I want to know what could cause this to happen in the first place?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 30 Nov 2001 15:30:58 GMT</pubDate>
    <dc:creator>Krishna Prasad</dc:creator>
    <dc:date>2001-11-30T15:30:58Z</dc:date>
    <item>
      <title>Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622987#M39094</link>
      <description>OK. Here is a stange one.&lt;BR /&gt;&lt;BR /&gt;At a off-site DR test.&lt;BR /&gt;&lt;BR /&gt;We restore omniback ....restore the operating system, create our filesystems, restore our database. We reboot the box and then.......&lt;BR /&gt;&lt;BR /&gt;the drives that we restored the database on changed address. We were told of no hardware changes done to the box. Which I do believe because of the output from I/O scan still should the same Hardware Path but the instance number changed which changed the device files.&lt;BR /&gt;&lt;BR /&gt;Prior to the reboot the ioscan looked like this. ( I will only show a one disk examble)&lt;BR /&gt;&lt;BR /&gt;Class   I   H/W Path    driver S/W State&lt;BR /&gt;###############################################&lt;BR /&gt;&lt;BR /&gt;disk    3   0/8/0/0.0.0 sdisk  claimed&lt;BR /&gt;                        /dev/dsk/c3t0d0&lt;BR /&gt;&lt;BR /&gt;after the reboot&lt;BR /&gt;Class   I   H/W Path    driver S/W State&lt;BR /&gt;###############################################&lt;BR /&gt;&lt;BR /&gt;disk    5   0/8/0/0.0.0 sdisk  claimed&lt;BR /&gt;                        /dev/dsk/c5t0d0&lt;BR /&gt;&lt;BR /&gt;I don't know of what OS files I restored or didn't restore that could change the instance number? Does anyone else? I am running HP-UX11.00 on a N-class box in production. The off-site box was a N-class box.&lt;BR /&gt;&lt;BR /&gt;The only thing I could think of to fix it in the short term was a vgexport and vgimport. However, I want to know what could cause this to happen in the first place?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2001 15:30:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622987#M39094</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2001-11-30T15:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622988#M39095</link>
      <description>I think the ioconfig file did not get restored and as a result it created a new one which then changes the instance number. I'm attaching the process of changing instance number and you can see somewhere it mentioned about the ioconfig file.&lt;BR /&gt;&lt;BR /&gt;----------------------------------------------&lt;BR /&gt;Changing Instance Number (HP-UX 10.x/11.x)&lt;BR /&gt;==========================================&lt;BR /&gt;o Build yourself the "infile" from the extisting configuration.&lt;BR /&gt;&lt;BR /&gt;     # ioscan -kf|grep -e INTERFACE -e DEVICE|awk '{printf&lt;BR /&gt;       "%s %s %s\n",$3,$1,$2}'&amp;gt;infile&lt;BR /&gt;&lt;BR /&gt;o The "infile" should look something like this :-&lt;BR /&gt;&lt;BR /&gt;     ......&lt;BR /&gt;     0/0/2/0     ext_bus   2&lt;BR /&gt;     0/0/2/0.2     target    3&lt;BR /&gt;     0/0/2/0.2.0      disk      1&lt;BR /&gt;     0/0/2/0.7     target    4&lt;BR /&gt;     0/0/2/0.7.0      ctl       2&lt;BR /&gt;     0/0/2/1     ext_bus   3&lt;BR /&gt;     0/0/2/1.2     target    5&lt;BR /&gt;     0/0/2/1.2.0      disk      2&lt;BR /&gt;     0/0/2/1.7     target    6&lt;BR /&gt;     0/0/2/1.7.0      ctl       3&lt;BR /&gt;     0/4/0/0     ext_bus   4&lt;BR /&gt;     0/4/0/0.0     target    7&lt;BR /&gt;     0/4/0/0.0.0      disk      3&lt;BR /&gt;     0/4/0/0.0.1      disk      6   &lt;BR /&gt;     ......&lt;BR /&gt;&lt;BR /&gt;o Now edit "ext_bus" line and change the instance number to the&lt;BR /&gt;  one you wanted. Be careful not to duplicat the instance numbers&lt;BR /&gt;  or leave anything out. Move the "infile" to root directory.&lt;BR /&gt;&lt;BR /&gt;o Test the file :-&lt;BR /&gt;    &lt;BR /&gt;     # ioinit -f infile 2&amp;gt;&amp;amp;1|more&lt;BR /&gt;&lt;BR /&gt;     ==&amp;gt; Look for errors with any of the changed lines. If no diagnostic&lt;BR /&gt;         message is displayed for that line then it is good. All other&lt;BR /&gt;         lines that do not change will say something like ..&lt;BR /&gt;   &lt;BR /&gt;            ioinit: Input identical to kernel, line ignored&lt;BR /&gt;            Input line 1:   0/0/2/0    ext_bus  0&lt;BR /&gt;&lt;BR /&gt;o Rename /etc/ioconfig and /stand/ioconfig with extension say ".save" &lt;BR /&gt;&lt;BR /&gt;o Reboot the system. It will come up to ioinitrc and give this message:-&lt;BR /&gt;&lt;BR /&gt;     /sbin/ioinitrc /etc/ioconfig missing. Restore it from backup or&lt;BR /&gt;     invoke /sbin/ioinit -c to recreate it from kernel.&lt;BR /&gt;     (in ioinitrc) #&lt;BR /&gt;&lt;BR /&gt;o Run this :-&lt;BR /&gt;     &lt;BR /&gt;     (in ioinitrc) # /sbin/ioinit -f /infile -r&lt;BR /&gt;     (in ioinitrc) # ^d&lt;BR /&gt;&lt;BR /&gt;o You should get back all your instance numbers after system reboots.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2001 15:36:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622988#M39095</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-11-30T15:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622989#M39096</link>
      <description>Hi Ron,&lt;BR /&gt;&lt;BR /&gt;well to restore the operating system was the thing that restored /dev which I guess was not so good. You should have done the OS recovery with ignite.&lt;BR /&gt;&lt;BR /&gt;If you reinstall the OS, you might get rearangements with all devices the work with logical instance numbers (like /dev/rmt/0m, or the SCSI-controllers like in your case).&lt;BR /&gt;&lt;BR /&gt;I.e if you have a scsi-controller at 52.0.0.0 and install the OS all disks will get /dev/dsk/c0xxxx as a path.&lt;BR /&gt;If you put in a second controller to 40.0.0.0 this one will become c1xxxx.&lt;BR /&gt;But if you reinstall the system now, the 40.0.0.0 will be the c0xxxx controller due to its lower hardware-path-id.&lt;BR /&gt;&lt;BR /&gt;Hope this help&lt;BR /&gt;Volker</description>
      <pubDate>Fri, 30 Nov 2001 15:41:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622989#M39096</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2001-11-30T15:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622990#M39097</link>
      <description>Hi Ron:&lt;BR /&gt;&lt;BR /&gt;First, it is not uncommon for instance numbers to change upon a cold-install.  Instance number assignements are based on the order in which hardware is scanned.  Changed instance numbers most commonly a problem for tape drives where /dev/rmt/0m (instance 0) is assumed to be the default device.&lt;BR /&gt;&lt;BR /&gt;Since you were dealing with disk devices, the use of a 'vgimport' was quite appropriate.&lt;BR /&gt;&lt;BR /&gt;Since you don't mention Ignite recovery, I am going to presume that your D/R test had an OS loaded upon which you overlaid your configuration.  In that case, the configuration of the server was already set anyway.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 30 Nov 2001 15:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622990#M39097</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-11-30T15:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622991#M39098</link>
      <description>This is very common. It happens because the i/o interfaces were 'discovered' in a different order on the two boxes. You might also run into this problem if moving between machine classes. That is something your DR plan should take into account. Typically this occurs because on your old box, a card was added or moved to another slot after the OS was originally loaded. There are two ways to fix this: 1) nore the major/minor device nodes of the current devices and simply remove the nodes with rm and remake them with the desired names and major/minor device numbers via mknod - a bit messy. 2) Neat and also works across machine types: DON'T USE THE DEVICE NODES DIRECTLY. Do this instead: Make your oracle data files something like: /u01/oradata/file01.dbf. Next symbolically link this file to your raw device: ln -s /dev/rdsk/c2t5d0 /u01/oradata/file01.dbf. If you use indirection like this, then you only need to set the symbolic links and the instance numbers don't matter.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Food for thought, Clay</description>
      <pubDate>Fri, 30 Nov 2001 15:44:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622991#M39098</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-11-30T15:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622992#M39099</link>
      <description>If hardware is added to a box after the initial install, instance numbers can be different from a system which has just been installed - &lt;BR /&gt;&lt;BR /&gt;instance numbers are incremented as new hardware is discovered, so a (simplified) example might look like this:&lt;BR /&gt;&lt;BR /&gt;bus 0/1&lt;BR /&gt;|--disk1&lt;BR /&gt;|--disk2&lt;BR /&gt;&lt;BR /&gt;bus 0/2&lt;BR /&gt;|--disk3&lt;BR /&gt;|--disk4&lt;BR /&gt;&lt;BR /&gt;If I now add a disk to bus 0/1 it takes instance number 5 :&lt;BR /&gt;&lt;BR /&gt;bus 0/1&lt;BR /&gt;|--disk1&lt;BR /&gt;|--disk2&lt;BR /&gt;|--disk5  **&lt;BR /&gt;&lt;BR /&gt;bus 0/2&lt;BR /&gt;|--disk3&lt;BR /&gt;|--disk4&lt;BR /&gt;&lt;BR /&gt;But if I were to *completely* re-install the OS after adding the new disk, the disk instance numbers would look like this:&lt;BR /&gt;&lt;BR /&gt;bus 0/1&lt;BR /&gt;|--disk1&lt;BR /&gt;|--disk2&lt;BR /&gt;|--disk3&lt;BR /&gt;&lt;BR /&gt;bus 0/2&lt;BR /&gt;|--disk4&lt;BR /&gt;|--disk5&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So this might explain the change...&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan&lt;BR /&gt;</description>
      <pubDate>Fri, 30 Nov 2001 15:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622992#M39099</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2001-11-30T15:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622993#M39100</link>
      <description>Hi,&lt;BR /&gt;Just an assumption. Did you (for the recovery)&lt;BR /&gt;attach a tapedrive or any device that is not normally there ? That could explain the hardwarepath remaining the same, but the instance number changing ...&lt;BR /&gt;If the total number of devices (not only disks but all of them) has not changed this is strange indeed ...&lt;BR /&gt;&lt;BR /&gt;Kind Regards,&lt;BR /&gt;Tom Geudens</description>
      <pubDate>Fri, 30 Nov 2001 15:47:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622993#M39100</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2001-11-30T15:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622994#M39101</link>
      <description>Wrong use of Instance #.&lt;BR /&gt;&lt;BR /&gt;I was refering to the instance number of the controller i.e.&lt;BR /&gt;&lt;BR /&gt;c3t0d0 to c5t0d0&lt;BR /&gt;&lt;BR /&gt;I assumed the "I" in the ioscan was for the controller. looking at that again...I relize this instance # has nothing to do with the controller.&lt;BR /&gt;&lt;BR /&gt;Sorry I wasn't clear ......&lt;BR /&gt;&lt;BR /&gt;Whey would the c# change after a reboot.&lt;BR /&gt;&lt;BR /&gt;Also......we did not restore /dev at all.&lt;BR /&gt;&lt;BR /&gt;We didn't use ignite becuase we were trying to restore two production servers to one DR server becuase our Cell server and DB server are different.</description>
      <pubDate>Fri, 30 Nov 2001 15:54:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622994#M39101</guid>
      <dc:creator>Krishna Prasad</dc:creator>
      <dc:date>2001-11-30T15:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622995#M39102</link>
      <description>ioscan -fn|grep ext_bus&lt;BR /&gt;will show you the instance number (2nd column)</description>
      <pubDate>Fri, 30 Nov 2001 16:01:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622995#M39102</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2001-11-30T16:01:59Z</dc:date>
    </item>
    <item>
      <title>Re: Instance number changing?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622996#M39103</link>
      <description>Ron,&lt;BR /&gt;&lt;BR /&gt;Did you restore /etc/ioconfig also from the backup?. If so, the previous instance numbers  (3) would have been lost.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Fri, 30 Nov 2001 16:03:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/instance-number-changing/m-p/2622996#M39103</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-11-30T16:03:49Z</dc:date>
    </item>
  </channel>
</rss>

