- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Device instance numbers in ioscan output
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
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
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
тАО05-24-2010 05:14 AM
тАО05-24-2010 05:14 AM
On our system we have replaced the SAN fabric and therefore all of the original paths to the disks are no longer present. After the fabric was replaced, I went through the following procedure to regain access to the disks:
- vgexport (all san based volume groups)
- for i in $(ls /dev/dsk); do rmsf -a $i; done
- ioscan -fnC disk
- insf -e -C disk
- vgimport (using map files)
This all worked successfully, but I noticed that in an `ioscan' output, the disk instance numbers ("I" column) seem to have skipped the original disks which are no longer visible. I am guessing that these are somehow still "defined" somewhere in the system. See the following `ioscan' output:
Class I H/W Path... Description
===================================
disk 1 0/0/2/0....
disk 2 0/0/2/0....
disk 473 0/2/0/0....
disk 474 0/2/0/0....
[...]
Notice that the instance numbers start at 473. Before the SAN fabric was changed, they carried on from instance number 2 sequentially (i.e. 3, 4, 5, etc.).
Is there a way that I can "remove" the definitions of these "invisible" disks and rescan?
Any advice would be much appreciated.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 05:27 AM
тАО05-24-2010 05:27 AM
Re: Device instance numbers in ioscan output
try using rmsf on the offending device files.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 05:40 AM
тАО05-24-2010 05:40 AM
Solutionhttp://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=425790
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=26117
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 05:45 AM
тАО05-24-2010 05:45 AM
Re: Device instance numbers in ioscan output
or
#rmsf -a
remove it also from if you have used EMC power path
#powermt remove dev=c?t?d?
#powrmt check
#powermt save
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 05:45 AM
тАО05-24-2010 05:45 AM
Re: Device instance numbers in ioscan output
If ioscan can see them then they are still active and being exported to your server from the disk array.
Verify that the disk array is configured properly and then rmsf.
Don't ioinit. This is unnecessary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 06:11 AM
тАО05-24-2010 06:11 AM
Re: Device instance numbers in ioscan output
A couple of notes:
1. ioscan can no longer see the "invisible" devices.
2. /dev/dsk/* and /dev/rdsk/* have been rmsf'd.
The instance numbers still somehow seem to be in use and are not reused. Are there some other /dev/??? devices that I should have removed?
I even tried doing rmsf -k -H
From what I can tell, the ioconfig approach seems to be the way forward. I'm assuming you need actual console access if you intend to rename /etc/ioconfig and /stand/ioconfig before shutting down the system.
Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 01:52 PM
тАО05-24-2010 01:52 PM
Re: Device instance numbers in ioscan output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 02:52 PM
тАО05-24-2010 02:52 PM
Re: Device instance numbers in ioscan output
Leave it like it is. You shouldnt try to fix something, that isnt broken, well not in this case at least.
Even the rmsf in the procedure isnt necessary, the OS doesnt care about the obsolete device files, therefor you shouldnt either.
Greetz,
Chris
PS. The only thing that is missing from the procedure is a reboot of the system once the san paths were changed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-24-2010 10:38 PM
тАО05-24-2010 10:38 PM
Re: Device instance numbers in ioscan output
You only get a maximum of 255 ext_bus instance numbers in 11.11 and 11.23, and if you have moved your LUNs around a _lot_ and have a _lot_ of LUNs it is possible to hit this limit. You can check how high you are now in ext_bus instances using:
ioscan -kfC ext_bus
HTH
Duncan
I am an HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-25-2010 02:20 AM
тАО05-25-2010 02:20 AM
Re: Device instance numbers in ioscan output
I have decided not to go through the process of an ioinit, but I now know what needs to be done if I wanted to regain the missing instance numbers.
Regards,
Paul.