- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Help on changing disk/tape instance number
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
06-12-2002 03:58 AM
06-12-2002 03:58 AM
I have two L1000 servers that are booting up from the EMC Symmetrix. The primary boot disk is in turn mirrored to a local disk (alternate disk).
My intention is to make all the BCV disk devicename the same on both servers.
I had tried the steps (in the attached file) but is hitting an error when I issue the command:
/sbin/ioinit -f /stand/infile -r
"ioinit: libIO erorr. Entry not found in ioconfig file.
Input line 3: 0/0/1/0.7 target 0
After this, I rebooted the server, but when the server come up, all the instances was not what I wanted. In fact, it is different from those before the change!!
Pls kindly advice what is wrong.
Thanks in advance.
Regards,
Jayce
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 04:05 AM
06-12-2002 04:05 AM
Re: Help on changing disk/tape instance number
Try this advice:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0aba119c3420d411b66300108302854d,00.html
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 04:08 AM
06-12-2002 04:08 AM
Re: Help on changing disk/tape instance number
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x96b70bce6f33d6118fff0090279cd0f9,00.html
live free or die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 04:22 AM
06-12-2002 04:22 AM
Re: Help on changing disk/tape instance number
I'm pasting the content of the attached file.
My approach is alomost similar to your suggestion. But it hit the error in my earlier mail. Note that the server did not even reboot by itself after the ioinit -f infile -r.
Thanks.
1) Existing ouput (extracted) of
ioscan -kf | grep -e INTERFACE -e DEVICE | awk '{printf "%s %s %s\n",$3,$1,$2}' > /tmp/infile
0/3/0/0.1.28.0.0 ext_bus 8
0/3/0/0.1.28.0.1 ext_bus 13
0/6/0/0.2.23.255.0 ext_bus 14
0/6/0/0.3.23.255.0 ext_bus 15
2) Edit file and change the following
0/3/0/0.1.28.0.0 ext_bus 8
0/3/0/0.1.28.0.1 ext_bus 11
0/6/0/0.2.23.255.0 ext_bus 5
0/6/0/0.3.23.255.0 ext_bus 6
3) Backup ioconfig file
cp /stand/ioconfig /stand/ioconfig.sav
cp /etc/ioconfig /etc/ioconfig.sav
4) Test out the infile
ioinit -f /tmp/infile
5) Move it to /stand folder
mv /tmp/infile /stand/infile
6) Remove ioconfig file
rm /etc/ioconfig
rm /stand/ioconfig
7) Reboot server
shutdown -ry 0
8) Interrupt boot process, boot primary and go to single user mode
bo pri
ISL > hpux -is
9) Prompted by system that ioconfig file is missing, recreate
/sbin/ioinit -c
Ctrl-D
10) Boot to single user mode
init s
11) Read from infile
/sbin/ioinit -f /stand/infile -r
Hit error:
"ioinit: libIO erorr. Entry not found in ioconfig file.
Input line 3: 0/0/1/0.7 target 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 05:34 AM
06-12-2002 05:34 AM
Re: Help on changing disk/tape instance number
From the link:
6) Remove ioconfig file
You should have "cp"'ed them:
mv /etc/ioconfig /etc/ioconfig.old
mv /stand/ioconfig /stand/ioconfig.old
Renaming these files allows you to boot into single-user mode
and recover from your original files.
11) Read from infile
Did you run "ioscan"?? before the /sbin/ioinit -f /stand/infile -r??
You will receive several messages, all of which you can ignore.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:03 AM
06-12-2002 06:03 AM
Re: Help on changing disk/tape instance number
I did a copy in step(3) and remove in step(6)
You mentioned about the ioscan. Where should I insert that?
Before ioinit -f in single user mode???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:13 AM
06-12-2002 06:13 AM
Re: Help on changing disk/tape instance number
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2002 06:36 AM
06-12-2002 06:36 AM
Re: Help on changing disk/tape instance number
Will this do for U?
Step 1. #ioscan -fk|grep ext_bus |awk '{print $3, $1, $2}'>/tmp/intancefile
step 2. Edit the /tmp/instance file and do the required modification
Step 3. #cp /etc/ioconfig /etc/ioconfig.old
#cp /stand/ioconfig /stand/ioconfig.old
Step 4. ioinit -f /tmp/instancefile -r
Best of luck
Shahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 12:05 AM
06-13-2002 12:05 AM
Re: Help on changing disk/tape instance number
Tried your suggestion, but to no avail.
I was prompted:
"ioinit: Instance number 11 already exists for class ext_bus.
line 35. 0/3/0/0.1.28.0.1 ext_bus 11"
I had double checked that instance 11 is not in-use from the ioscan -fnC ext_bus.
Pls note that currently the above-mentioned ext_bus is tied to instance 13.
Pls advice.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 12:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2002 01:18 AM
06-13-2002 01:18 AM
Re: Help on changing disk/tape instance number
Thanks for the informative post.
Will try that out.
BTW, your suggestion reference to my error of existing ext_bus instance 11.
If you read my initial post, I actually hit problem when I issue the ioinit -f infile -r after ioinit -c in the single-user mode.
Pls advice. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2002 10:42 PM
06-14-2002 10:42 PM
Re: Help on changing disk/tape instance number
I'm going you a perfect 10 as you solved my problem completely.
BTW, the parse_ioconfig file is indeed very useful.
Thanks.
Cheers...