1834939 Members
2342 Online
110071 Solutions
New Discussion

Re: ioscan problem

 
SOLVED
Go to solution
mobidyc
Trusted Contributor

ioscan problem

Hello,

i've the following problem with ioscan:

if i scan a device from Hardware PATH, it appears CLAIMED but if i scan it from a part of its Hardware PATH, the devices appears NO_HW.

example (i've cutted a part of the ioscan result for better readibility):
#> ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
disk 6 0/0/1/0.9.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0

#> ioscan -fnH 0/0/1/0.9.0
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 6 0/0/1/0.9.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0


#> ioscan -fnH 0/0/1/0.9
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
target 10 0/0/1/0.9 tgt CLAIMED DEVICE
disk 6 0/0/1/0.9.0 sdisk NO_HW DEVICE HP 36.4GST336706LC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0

#> ioscan -fnH 0/0/1/0
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
ext_bus 0 0/0/1/0 c8xx CLAIMED INTERFACE SCSI C896 Fast Wide LVD
target 8 0/0/1/0.7 tgt CLAIMED DEVICE
ctl 3 0/0/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
target 10 0/0/1/0.9 tgt CLAIMED DEVICE
disk 6 0/0/1/0.9.0 sdisk CLAIMED DEVICE HP 36.4GST336706LC

#> ioscan -fnH 0/0/1
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
ext_bus 0 0/0/1/0 c8xx NO_HW INTERFACE SCSI C896 Fast Wide LVD
target 8 0/0/1/0.7 tgt NO_HW DEVICE
ctl 3 0/0/1/0.7.0 sctl NO_HW DEVICE Initiator
/dev/rscsi/c0t7d0
disk 6 0/0/1/0.9.0 sdisk NO_HW DEVICE HP 36.4GST336706LC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0

this problem is reproductible on any release (them than i have under my hand).

is it a problem or a normal way ?

Cheers,
Cedrick Gaillard
Best regards, Cedrick Gaillard
2 REPLIES 2
Peter Godron
Honored Contributor
Solution

Re: ioscan problem

Cedrick,
please see "man ioscan"

"Scanning below the bus level will not probe the hardware and may produce incorrect results. For example, specifying the path at the target level will always change the state of the device attached to it as NO_HW."


Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 on how to reward any useful answers given to your questions.
mobidyc
Trusted Contributor

Re: ioscan problem

Hello Peter,

sorry to not have seen it in the manpage, my apologize.

big thanks for your quick answer and for have shared your hp-ux knowledge.

Cheers,
Cedrick Gaillard.
Best regards, Cedrick Gaillard