Operating System - HP-UX
1752600 Members
4272 Online
108788 Solutions
New Discussion юеВ

Re: ioscan - how quick after boot

 
SOLVED
Go to solution
KRI
Advisor

ioscan - how quick after boot

Hi!

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!
KRI
2 REPLIES 2
Torsten.
Acclaimed Contributor
Solution

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!
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!   
Darrel Louis
Honored Contributor

Re: ioscan - how quick after boot

Hi,

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.

Goodluck
Darrel