cancel
Showing results for 
Search instead for 
Did you mean: 

Devices are in SCAN state

 
PVR
Valued Contributor

Devices are in SCAN state

We have a HP-UX 11.0 system. When I execute ioscan -fn, system is hanging. Also
tape device is hanging. The output of ioscan -fu is given below;

What is the meaning of SCAN state ? When I tried execting insf, I got the below error;

vuh273 $ insf -eH 10/12/5.0.0
insf: Unable to lock /etc/ioconfig - : Cannot lock /etc/ioconfig file.
insf: Installing special files for stape instance 0 address 10/12/5.0.0


ioscan -fu
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
ext_bus 0 10/0 c720 CLAIMED INTERFACE GSC built-in Fast/Wide SCSI Interface
disk 0 10/0.1.0 sdisk CLAIMED DEVICE SEAGATE ST15150W
disk 1 10/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST15150W
disk 2 10/0.3.0 sdisk CLAIMED DEVICE SEAGATE ST32550W
disk 3 10/0.4.0 sdisk CLAIMED DEVICE SEAGATE ST32272WC
disk 4 10/0.5.0 sdisk CLAIMED DEVICE SEAGATE ST32550W
disk 5 10/0.6.0 sdisk CLAIMED DEVICE SEAGATE ST31230W
ctl 0 10/0.7.0 sctl CLAIMED DEVICE Initiator
tty 0 10/4/0 mux2 CLAIMED INTERFACE MUX
ext_bus 1 10/8 c720 CLAIMED INTERFACE GSC add-on Fast/Wide SCSI Interface
disk 6 10/8.2.0 sdisk CLAIMED DEVICE IBM DGHS09Y
disk 7 10/8.3.0 sdisk CLAIMED DEVICE IBM DGHS09Y
disk 8 10/8.4.0 sdisk CLAIMED DEVICE SEAGATE ST32550W
disk 9 10/8.5.0 sdisk CLAIMED DEVICE SEAGATE ST32550W
disk 10 10/8.6.0 sdisk CLAIMED DEVICE SEAGATE ST32550W
ctl 1 10/8.7.0 sctl CLAIMED DEVICE Initiator
ext_bus 3 10/12/0 CentIf SCAN INTERFACE Built-in Parallel Interface
ext_bus 2 10/12/5 c720 CLAIMED INTERFACE Built-in SCSI
tape 0 10/12/5.0.0 stape SCAN DEVICE HP C1533A
disk 11 10/12/5.2.0 sdisk SCAN DEVICE TOSHIBA CD-ROM XM-4101TA
ctl 2 10/12/5.7.0 sctl SCAN DEVICE Initiator
lan 0 10/12/6 lan2 SCAN INTERFACE Built-in LAN
ps2 0 10/12/7 ps2 SCAN INTERFACE Built-in Keyboard/Mouse

Please help to resove the issue..

Thanks in advance
-PVR
Don't give up. Try till success...
9 REPLIES
SUDHAKAR_18
Trusted Contributor

Re: Devices are in SCAN state

Can you remove the SCAN devices using
#rmsf -H

and try running #ioscan -fn
#insf -e

PVR
Valued Contributor

Re: Devices are in SCAN state

Hi,
ioscan -fn is hanging.

Got the below error

insf -eH 10/12/7
insf: Unable to lock /etc/ioconfig - : Cannot lock /etc/ioconfig file.
insf: Installing special files for ps2 instance 0 address 10/12/7
Don't give up. Try till success...
madhuchakkaravarthy
Trusted Contributor

Re: Devices are in SCAN state

hi

run ioscan with -k and look for dmesg and syslog error.

if possible post the latest logs.

check do all vgs are activated


regards

MC
Suraj K Sankari
Honored Contributor

Re: Devices are in SCAN state

Hi,

Is there any error message in /var/adm/syslog/syslog.log ?

If yes please post here.

Suraj
PVR
Valued Contributor

Re: Devices are in SCAN state

There is no error message in syslog.log

Thanks
Don't give up. Try till success...
Torsten.
Acclaimed Contributor

Re: Devices are in SCAN state

SCAN means there is another ioscan running (maybe hung?).

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!   
PVR
Valued Contributor

Re: Devices are in SCAN state

Hi Torsten

I can see that around six ioscan processes are running in the system. tried killing them using kill -9 and it didn't work.

Thanks
Don't give up. Try till success...
SUDHAKAR_18
Trusted Contributor

Re: Devices are in SCAN state

ioscan got hung and process is gone to init.
need to reboot the machine.

dont run anymore ioscan, pls reboot the machine and let us know.
TTr
Honored Contributor

Re: Devices are in SCAN state

Rebooting is the only way to clear this. After rebooting do not run ioscan. Check the process listing and see if there is an ioscan that is already running and has not completed. The "SCAN" state is normal in some environments with a lot of SAN devices but it goes away within a couple of minutes. In your case with local devices it is not normal, there is something wrong in bus 10, this looks like the core i/o in a K-series server.