Operating System - HP-UX
1847127 Members
5554 Online
110263 Solutions
New Discussion

Re: Problem running commands

 
Chris Fadrowski
Super Advisor

Problem running commands

I am having a problem running commands such as IOSCAN and doing make_tape_recovery. I suspect other commands may not work.

When i do an ioscan -fnC disk the server will hang for days and never report back (just sits there). Same thing when i try to run a MR. Not sure what is going on here. I can resolve the server using nslookup and have the latest patches. Any ideas what could be going on?

funny thing is i can run ioscan -funC disk and that works.

HPUX 11.23 v2 IA64
4 REPLIES 4
James R. Ferguson
Acclaimed Contributor

Re: Problem running commands

Hi Chris:

Running 'ioscan' with the '-u' switch means that you are limiting the scan to "usable" devices and not the entire hardware set.

It would appear from your description that you have a non-responsive piece of hardware that causes the hang.

Look for any EMS alerts, particularly if you do a full 'ioscan' (without '-u' and/or without '-k').

Look to for anything in your 'syslog.log'.

Regards!

...JRF...
Chris Fadrowski
Super Advisor

Re: Problem running commands

i can't run an ioscan. Can only run -funC as you mentioned. I looked thru the syslog and don't see any issues.

you mention EMS. Can you tell me what this is? CSTM? XSTM?
Tim Nelson
Honored Contributor

Re: Problem running commands

ioscan hangs are typically caused by a bad device somewhere on the bus...

Finding it when ioscan hangs is not easy.

if one ioscan hangs all other ioscans will hang as well. need to reboot in between or wait "days" for the previous to finish.

I would reduce the issue, boot offline diags maybe and attempt to find your bad device that way by process of elimination.

or

reduce the system by unplugging all external io, running ioscan, then plugging in external bus' one at a time until it hangs again by process of elimination.

This all takes time and dedication, if you have maint contract, let them trouble shoot.

BTW, make_tape_recovery probably runs an ioscan and the reason for that failing/hanging as well.

Best of luck.

Sharma Sanjeev
Respected Contributor

Re: Problem running commands

Hi Chris

Please check event.log file for any error path is /var/opt/resmon/log/event.log

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE