- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ioinit: Instance number 0 already exists for class...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2016 05:09 AM
10-20-2016 05:09 AM
ioinit: Instance number 0 already exists for class tape.
we added new SAN switches in our data center and we made zoning from scratch. after the new zoning the server geting the existing tape library with the new hardware paths.
server: rx7640. OS: HP-UX 11.31
# ioscan -fnkC tape
Class I H/W Path Driver S/W State H/W Type Description
==================================================================
tape 4 0/0/14/1/0.1.10.255.0.0.1 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/4m /dev/rmt/4mn /dev/rmt/c47t0d1BEST /dev/rmt/c47t0d1BESTn
/dev/rmt/4mb /dev/rmt/4mnb /dev/rmt/c47t0d1BESTb /dev/rmt/c47t0d1BESTnb
tape 5 0/0/14/1/0.1.10.255.0.0.2 stape CLAIMED DEVICE HP Ultrium 4-SCSI
/dev/rmt/5m /dev/rmt/5mn /dev/rmt/c47t0d2BEST /dev/rmt/c47t0d2BESTn
/dev/rmt/5mb /dev/rmt/5mnb /dev/rmt/c47t0d2BESTb /dev/rmt/c47t0d2BESTnb
#
we want the identifier no should start from 0.
we tried to reset the numbers with this procedure.
# ioscan -fnkC tape | grep -e ^tape -e /dev > /tmp/ioscan.out
# awk 'BEGIN {COUNT=0} $1 ~ /^tape/ {printf "%s\ttape\t%d\n", $3, COUNT++}' /tmp/ioscan.out > /tmp/infile
# cat /tmp/infile
0/0/14/1/0.1.10.255.0.0.1 tape 0
0/0/14/1/0.1.10.255.0.0.2 tape 1
#
# ioinfile -f /tmp/infile
# ioinit -f /tmp/infile
ioinit: Instance number 0 already exists for class tape.
Input line 1: 0/0/14/1/0.1.10.255.0.0.1 tape 0
#
also we tried to remove the tape from the server physicaly and delete the device files.
#rmsf -H 0/0/14/1/0.1.10.255.0.0.1
#rmsf -H 0/0/14/1/0.1.10.255.0.0.2
after this we reboot the server and try to install the device files but no luck. it is still keeping identifier no 4 and 5.
anyone can help me the solve this problem.
thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2016 05:30 AM - edited 10-20-2016 05:32 AM
10-20-2016 05:30 AM - edited 10-20-2016 05:32 AM
Re: ioinit: Instance number 0 already exists for class tape.
>>
# ioinit -f /tmp/infile
ioinit: Instance number 0 already exists for class tape.
Input line 1: 0/0/14/1/0.1.10.255.0.0.1 tape 0
#
Did you do this AFTER the reboot?
See also
/t5/System-Administration/How-to-change-a-card-instance-number-in-HP-unix/m-p/3787731#M264402
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2016 07:46 AM
10-20-2016 07:46 AM
Re: ioinit: Instance number 0 already exists for class tape.
Hi Torsten,
i followed the instructions given in the link you have provided. see the output from ioinit prompt.
(in ioinitrc)# /sbin/ioinit -f /infile -r
ioinit: Instance number 0 already exists for class tape.
Input line 38: 0/0/14/1/0.1.10.255.0.0.1 tape 0
it is not applying the changes. just giving the message that is " Input line 38: 0/0/14/1/0.1.10.255.0.0.1 tape 0 ".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2016 10:41 AM
10-20-2016 10:41 AM
Re: ioinit: Instance number 0 already exists for class tape.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2016 11:29 PM
10-22-2016 11:29 PM
Re: ioinit: Instance number 0 already exists for class tape.
hi,
yes i did. i moved /etc/ioconfig and /stand/ioconfig files. then i rebooted the system.
system came up in ioinit prompt and i issued these commands.
ioinitrc# /sbin/ioinit -c
(in ioinitrc)# /sbin/ioinit -f /infile -r
ioinit: Instance number 0 already exists for class tape.
Input line 38: 0/0/14/1/0.1.10.255.0.0.1 tape 0
it is not applying the changes because given message.