Operating System - HP-UX
1836562 Members
3320 Online
110102 Solutions
New Discussion

ioscan gives inconsistant results when the system is under heavy IO

 
Fay_1
Contributor

ioscan gives inconsistant results when the system is under heavy IO

Hi,
I ran several ioscan to see how many SCSI devices are attached to the computer which is under very heavy IO load. The number of device that I got back from ioscan changes sometimes. For example, ioscan -kfn -C disk gets 100 devices.Running the same command again gets 75 devices and yet the third time gets 100 again. Is this an ioscan bug?
Thanks!
3 REPLIES 3
S.K. Chan
Honored Contributor

Re: ioscan gives inconsistant results when the system is under heavy IO

I think you would want to drop the "-k" option because -k scans the kernel, meaning it'll also show "old" devices which physically does not exist but still is in the kernel. Usually I use ..

# ioscan -fnC disk

which actually scans the current hardware path. If you drop the -k option and run it a few times do you still get inconsistent output ?
harry d brown jr
Honored Contributor

Re: ioscan gives inconsistant results when the system is under heavy IO

Why would you want to run an ioscan ? Do you have glance on your machine, you should use it to monitor performance.

live free or die
harry
Live Free or Die
Jan-Erik Sanne
Advisor

Re: ioscan gives inconsistant results when the system is under heavy IO

Hi,

If u do not have Glance, you could use sar(1M) to analyze you performance. See attached htm file.

:) janerik
Life is not life unless you make mistakes