Operating System - HP-UX
1833313 Members
3187 Online
110051 Solutions
New Discussion

How to resolv from Instance number already exists

 
Rene Sesink
Occasional Contributor

How to resolv from Instance number already exists

Hi all,
We like to assign new instance number for ext_bus. I create a new infile for ioinit -f, but running ioinit -f infile -r ends with.

ioinit: ioinit: Instance number 28 already exists for class ext_bus.
Line 109. 0/8/0/0.10.19.255.0 ext_bus 28

It seems to be that Instance number 28 is not know in the kernel.
ioscan -fnkCext_bus|grep 28

Any idee how to resolv from this problem?

Thanks in advance, cheers, Rene
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: How to resolv from Instance number already exists

Shalom,

Solution possible. Also possible to end up with a brick instead of a system.

You can remove your /etc/ioinit information and rebuild your file after booting.

Few threads on the subject:

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=780373

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=234051

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=747266

There are limits to what you can do. You can't end up with a bus that is in slot 8 having a slot 4 address, but you can resolve this issues, if you are careful and you follow instructions.

WARNING: Take an Ignite backup of vg00 prior to doing this or suffer the consequences of failure.

I can't emphasize this last part enough.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sundar_7
Honored Contributor

Re: How to resolv from Instance number already exists

Rene,

From where are you running the ioinit ?

You will need to remove the /etc/ioconfig and /stand/ioconfig file and reboot the system.

Now ioinit will detect that there is no ioconfig file and will give you the prompt from where you can run the ioinit with the new infile.

From your post, it looks to me you are running it in the multi-user mode.

Thanks,

Sundar.

Learn What to do ,How to do and more importantly When to do ?
Rene Sesink
Occasional Contributor

Re: How to resolv from Instance number already exists

We remove an old HW path using Instance number 28.

ext_bus 28 0/9/0/0.20.26.255.0 fcpdev NO_HW INTERFACE FCP Device Interface

Then we reboot the system.
After the reboot HW path is removed and Instance number 28 is not listed any more.

ioscan -fnkCext_bus|grep 28

Create a infile for ioinit -f.
Assign Instance number 28 to a other HW path.
0/8/0/0.10.19.255.0 ext_bus 28

Now we move away the current ioconfig files and shutdown/reboot.
mv /stand/ioconfig /stand/ioconfig.sav
mv /etc/ioconfig /etc/ioconfig.sav
shutdown -ry now

Systems comes up in ioinitrc:
ioinitrc: /sbin/ioinit -c

The we apply the ioconfig change with prepared infile.
ioinitrc: /sbin/ioinit -f /infile -r

Here we are running in trouble.
ioinit: Instance number 28 already exists for class ext_bus.
Line 3. 0/8/0/0.10.19.255.0 ext_bus 28

It seems to be that Instance number 28 still exists in the io_tree of the kernel data structure. There is a need to use 28 because this system is a MC/SG cluster member and we like to have the same Instance numbers over all cluster nodes (5).

So how to clear Instance numbers from the IO_tree of the kernel?