System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

ioscan -fnC disk hanging on 11.31

 
Mike_305
Super Advisor

ioscan -fnC disk hanging on 11.31

Hello,

We have 11.31 system and iosca command hangs, any idea. As per HP's suggestion I have loaded the new ioscan patch anf that didnot help.

PHCO_41898 1.0 ioscan(1M) cumulative patch

Appreciate the help in advance.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
12 REPLIES
g3jza
Esteemed Contributor

Re: ioscan -fnC disk hanging on 11.31

Hi,

while running the ioscan, try logging from another console and type #ioscan -kfn or #ioscan -kfnN respectively , look for SCANNING / SCAN field under particular HW path, to see where the ioscan got stuck for longer, than it should...

Might be a problem with some component....
Torsten.
Acclaimed Contributor

Re: ioscan -fnC disk hanging on 11.31

A hung ioscan is most of the times caused by a bad disk - I would check the syslog, try ioscan with "-k" option and check the vgdisplay status for an unavailable disk.

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!   
g3jza
Esteemed Contributor

Re: ioscan -fnC disk hanging on 11.31

I didn't noticed the subject of the thread that you did a disk scan,
then try just #ioscan -kfnC disk , to see on which disk it got stuck... and troubleshoot further...

Mike_305
Super Advisor

Re: ioscan -fnC disk hanging on 11.31

Hello,

Thanks for the quick reply. But "ioscan -kfnC disk" this works no issue. The issue is when we try to scan the new disk using "ioscan -fnC disk"

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
g3jza
Esteemed Contributor

Re: ioscan -fnC disk hanging on 11.31

Hi,
I mean, try running the regular
#ioscan -fnC disk

and then simultaneously from the other console:
#ioscan -kfnC disk

to see, where the SCANNING / SCAN takes place and takes longer, than it normally should.
Mike_305
Super Advisor

Re: ioscan -fnC disk hanging on 11.31

Hello Again,

Still no luck, ioscan -fnC disk from one session hangs forever and from another session like you suggested running ioscan -kfnC disk finished in seconds.

Regards,

MJ
If there is problem then don't think as problem, think as opportunity.
Ismail Azad
Esteemed Contributor

Re: ioscan -fnC disk hanging on 11.31

Hey M,

Well Torsten has given you the hint that it could be a bad disk....

> The issue is when we try to scan the new disk using "ioscan -fnC disk"

Well how about rescanning the tree without the new disk if you have inserted a new one as you mention --new disk--.

Or you can go the Bill Hassell school of thought where you use an ioscan -f -H <> and keep trying until you hit the command that hangs.

Regards
Ismail Azad
Read, read and read... Then read again until you read "between the lines".....
Bill Hassell
Honored Contributor

Re: ioscan -fnC disk hanging on 11.31

Most problems with ioscan delays are caused by fibre LUNs that are no longer working. This can be caused by bad mapping in a SAN switch or in the controller. Contact your SAN admin and fix the mapping and/or setup for the problem LUNs.


Bill Hassell, sysadmin
g3jza
Esteemed Contributor

Re: ioscan -fnC disk hanging on 11.31

M7877: You still didn't comprehend, what I was trying to say :) .
#ioscan -fnC disk (from one console)
#ioscan -kfnC disk (wait for a couple of seconds since the 'ioscan -fnC disk' and run this command and then in the output look for 'SCAN' word, which means that the HW path might be problematic.)

Torsten.
Acclaimed Contributor

Re: ioscan -fnC disk hanging on 11.31

Please tell about the changes you are doing - more details needed!

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!   
Bill Hassell
Honored Contributor

Re: ioscan -fnC disk hanging on 11.31

The SCAN state means that a previous copy of ioscan has started querying all the hardware but is stuck on the listed device. This technique (ioscan -fnCdisk followed by ioscan -knfCdisk) is the fastest way to find the failing I/O devices. The -k option always completes (immediately) because it is reading in-memory tables rather than polling each device.


Bill Hassell, sysadmin
Turgay Cavdar
Honored Contributor

Re: ioscan -fnC disk hanging on 11.31

We had once an issue that rmsf commands lock /dev/config file and all ioscan hangs after that. We can't use vi,glance also because of locked /dev/config. The reboot was the solution.