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

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
Please use plain text.
Acclaimed Contributor
Torsten.
Posts: 23,127
Registered: ‎10-02-2001
Message 2 of 3 (41 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!
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! star in the left column!   
Please use plain text.
Honored Contributor
Darrel Louis
Posts: 856
Registered: ‎11-27-2000
Message 3 of 3 (41 Views)

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
Please use plain text.
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