- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to remove invalid entries in ioconfig?
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
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
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
03-27-2002 11:08 PM
03-27-2002 11:08 PM
We've recently connected our RP5450 server (running HP-UX 11.0) to an EMC FC4700 storage system. After several ioscans & reconfigurations of connection to switches, the system had logged different hardware paths in /etc/ioconfig. The instance number keeps increasing. By used the tool "ioc" (which was downloaded from this forum), I noticed that some of the old hardware paths are occupying the lower instance numbers. My question is how can we remove these invalid hardware paths from /etc/ioconfig and release/reset the instance number sequence for the real disks/luns?
Thank you for your help!
Regards,
Jack Wu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 11:18 PM
03-27-2002 11:18 PM
Re: How to remove invalid entries in ioconfig?
See this link.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xcc01670142b2d5118ff10090279cd0f9,00.html
C.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 11:20 PM
03-27-2002 11:20 PM
SolutionA) # ioscan -f | grep -e INTERFACE -e DEVICE | grep -v target | awk '{print $3, $1, $2}' > /infile
B) # vi /infile
Edit infile and change the ext_bus accordingly.
C) # mv /stand/ioconfig /stand/ioconfig.org
# mv /etc/ioconfig /etc/ioconfig.org
Save ioconfig file (just in case..)
D) # shutdown -ry 0
E) At the ioinitrc prompt during bootup run this ..
(in ioinitrc)# /sbin/ioinit -c
F) Apply the changes ..
(in ioinitrc)# /sbin/ioinit -f /infile -r
The system will reboot again now if the change was successful. Warnings like 'Input is identical to kernel' can be ignored. Once the system reboots, verify that all the instance numbers were changed as expected.
Caution though ..it may be necessary to re-import volume groups to ensure /etc/lvmtab contains the correct entries. So try not to mess with existing instance number that were already assigned to valid device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2002 11:30 PM
03-27-2002 11:30 PM
Re: How to remove invalid entries in ioconfig?
One other method I've found can
work, and has for me in the past
without rebooting is to remove
the path using the rmsf -H
removing any device files and
then running your ioscan(s).
Can't guarantee it, buit it is
worth a try if you can't have
an outage.
Cheers
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 12:52 AM
03-28-2002 12:52 AM
Re: How to remove invalid entries in ioconfig?
Later.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-28-2002 01:21 AM
03-28-2002 01:21 AM
Re: How to remove invalid entries in ioconfig?
Best wishes!
Jack Wu