- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ioscan -fnC disk Latency
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
09-18-2007 10:01 AM
09-18-2007 10:01 AM
We have trouble with ioscan. "ioscan -fnC disk" takes 8.5 mins to output all the disks.
Our environment consists several rx2620 (Itanium, hpux 11.23) and HSV111 (EVA 5000) SAN. These Itaniums connect to SAN via Febric Switch. The ioscan issue only happens to 2 machines. The other 4 machines only take seconds to report the result. All these machines have the same patch bundles. I even changed cables, that did not help...
Anyone have any idea?
Thanks,
Lynn
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2007 10:50 AM
09-18-2007 10:50 AM
Re: ioscan -fnC disk Latency
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2007 05:42 PM
09-18-2007 05:42 PM
Re: ioscan -fnC disk Latency
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
09-19-2007 03:06 AM
09-19-2007 03:06 AM
Re: ioscan -fnC disk Latency
The ioscan has to scan for all the disk and tape SAN. so if you have a large SAN some times it can take a while. However 8.5 mins is a long time. We have one server that take about 5 mins and we were unable to ever corrrect this issue. He also had HP Support look into this with no results.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 03:27 AM
09-19-2007 03:27 AM
Re: ioscan -fnC disk Latency
ioscan -kfnCdisk
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 05:28 AM
09-19-2007 05:28 AM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 05:33 AM
09-19-2007 05:33 AM
Re: ioscan -fnC disk Latency
Thanks for the help. To answer your question - The zoning on the SAN is at Switch level and there are 3 Itaniums in
that storage group. They are all seeing the
same disks. Itm1 has no problem and itm3
and itm4 have ioscan delay. We must use -fnC
for ioscan because our software using that output to do something...
Anyway, our SAN admin told me that in the
past these machines saw "ghost" devices and
they had to clean out the HW path. In my case (my second day in this job:-), I ignited itm3 and itm4 with a hpux 11.23 image. I'd think the "ghost" path should not
present in a new installed machine.
These disks are not configured. Should I try to delete these disks path and rescan in?
The other unknown things are Serviceguard & Cluster if they are interfering with ioscan? I have attached a proc list here. Please take a look and see if you find anything that may cause ioscan delay...
Thanks,
Lynn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 05:41 AM
09-19-2007 05:41 AM
Re: ioscan -fnC disk Latency
Few things to think about.
1) Any machine that does not have LUN0 presented to it may detect the disk array itself as a disk. Except its not and can slow down ioscan and cause EMS errors. Check EMS output to confirm.
2) ioscan can be slowed down by unterminated scsi connections. Check the cables in back of the boxes.
Your secondary questions:
These disks are not configured. Should I try to delete these disks path and rescan in?
Yes.
The other unknown things are Serviceguard & Cluster if they are interfering with ioscan?
Normally Servicegaurd could not interfere with ioscan. I suppose if it had a hung package trying to activate a volume group it might slow things down but not to this degree. Easy enough to test. cmhaltnode and re-run your ioscan.
I have attached a proc list here. Please take a look and see if you find anything that may cause ioscan delay...
If any of your processes have really heavy i/o it could slow down ioscan.
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
09-19-2007 06:10 AM
09-19-2007 06:10 AM
Re: ioscan -fnC disk Latency
Well, ideally you should rewrite your software. 'ioscan -fnC disk' will ALWAYS probe ALL buses for disks. It can be very slow if you have a server with lots of FC or SCSI buses or lots of disks.
The better way to do it would be to use 'ioscan -kfnC disk' so that you just query the kernel to get the output of what the kernel knows about. You could also try 'ioscan -funC disk' and see if that helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 07:21 AM
09-19-2007 07:21 AM
Re: ioscan -fnC disk Latency
I ran ioscan to the hw path, every path
gave answer really quick. I don't see errors in EMS. Since I don't have much exp with fcmsutil, please show me how to use that to trouble shoot HBA? how about clear/reset HBA? I attached ioscan output here.
Thanks,
Lynn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 07:43 AM
09-19-2007 07:43 AM
Re: ioscan -fnC disk Latency
Check my theory more thoroughly then. A device that the system thinks a disk but is not a disk is probably causing the delay.
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
09-19-2007 08:31 AM
09-19-2007 08:31 AM
Re: ioscan -fnC disk Latency
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2007 05:34 PM
09-19-2007 05:34 PM
Re: ioscan -fnC disk Latency
See
http://docs.hp.com/en/B2355-60105/ioscan.1M.html
"-H hw_path Restrict the scan and output listing to those devices connected at the specified hardware path. The hardware path must be a bus path. Scanning below the bus level will not probe the hardware and may produce incorrect results"
The scan may be slow if there are device without a presented device to the system, e.g. an EVA without a presented vdisk to this server.
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
09-19-2007 05:40 PM
09-19-2007 05:40 PM
Re: ioscan -fnC disk Latency
From this 2 storage systems you see only control devices - no disks, this may be the reason for the delay.
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
09-19-2007 06:56 PM
09-19-2007 06:56 PM
Re: ioscan -fnC disk Latency
# ioscan -funC fcp
Ask your SAN admins if they can zone this host only to that one hardware path. IMHO this should substantially reduce your ioscan runtime. Could you attach the ioscan listing from the good system.
~hope it helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 06:36 AM
09-20-2007 06:36 AM
Re: ioscan -fnC disk Latency
I think we are getting close to the bottom. The good system only shows 1 FCP domain and no HSV 200 ctl. I am having our
SAN admin to look into this now. attach is
an ioscan output from a good system.
Thanks,
Lynn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2007 08:06 AM
09-20-2007 08:06 AM
Re: ioscan -fnC disk Latency
Is the good system connected to the same storage array as the bad one? In your last post you mentioned that the bad system is missing the HSV 200 controller. This suggests that the "Host Mode" setting is not set correctly on the SAN side.
Make sure that the SAN admins check the zoning issue and the "Host Mode" setting on the storage array which imho are likely causes of the ioscan latency.
~hope it helps