Re: ioscan - how quick after boot (86 Views)
Posts: 34
Registered: ‎03-10-2002
Message 1 of 3 (86 Views)
Accepted Solution

ioscan - how quick after boot


I want to check disk's statuses (CLAIMED, NO_HW etc.) after boot. How quickly can I check it by ioscan -fnkCdisk? When I invoke ioscan -fnCdisk (without -k option) from /sbin/rc3.d/script all statuses are SCAN.
Can I sure that the output from ioscan -fnkCdisk (with -k option) is actual?

Best regards!
Acclaimed Contributor
Posts: 23,958
Registered: ‎10-02-2001
Message 2 of 3 (86 Views)

Re: ioscan - how quick after boot

If you get a result with the -k consider this as the last known state by the kernel (of course since the boot).

If you see a status of SCAN this means there is another ioscan already running (maybe started by the diags).

If supported by your OS version, try ioscan -t to get the last time when ioscan was running.

Hope this helps!


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!   
Honored Contributor
Posts: 856
Registered: ‎11-27-2000
Message 3 of 3 (86 Views)

Re: ioscan - how quick after boot


When the server startsup it will run the insf command to detect new hardware (in rc level 1), so when you run ioscan with the -k option it will display the latest information.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.