1834412 Members
1787 Online
110067 Solutions
New Discussion

Re: ioscan output

 
khilari
Regular Advisor

ioscan output

hi guys, i wanted to get some concepts straight on the ioscan, below is the output and i have asked questions alongside them.
Thanks

tty 0 8/0/0 mux2 CLAIMED INTERFACE MUX (IS 8 THE SBA, 0 THE LBA?)
/dev/diag/mux0 /dev/mux0



disk 0 8/4.4.0 sdisk CLAIMED DEVICE SEAGATE ST34573WC (8 THE SBA AND 4 THE LBA THEN WHAT IS
4.0)


tape 0 8/16/5.0.0 stape CLAIMED DEVICE HP C1537A (IS 8 THE SBA, 16 THE LBA WHAT IS 5.0.0)


disk 2 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0 ( In this the interface is 2 not 0, what does that mean??)
6 REPLIES 6
Peter Godron
Honored Contributor

Re: ioscan output

Peter Nikitka
Honored Contributor

Re: ioscan output

Hi,

I don't know, what your terms SBA and LBA are meaning - but these numbers mean the hardware path, just as noted in the header line of the ioscan command. From 'man ioscan' (see man page for a more detailled info):
>>
A numerical string of hardware components, notated sequentially from the bus address to the device address.
<<

For scsi devices (like your cdrom, disks and the tape in your output) you see the mapping
HW-path 8/16/5.2.0
to c2t2d0
where first '2' is the path to the scsi controller (8/16/5.), being the 2nd one recognized, and the last components (2.0) you find as "t2d0".

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
khilari
Regular Advisor

Re: ioscan output

sba is system bus adapter and lba is local bus adapter. If u see the hierarchy u will see cpu > sba > lba and then lans or scsi or tty.
Just wanted to know how the highway path is broken down to represent the above..
Sandman!
Honored Contributor

Re: ioscan output

You can get the I/O tree by starting from the root of the hardware path. For ex. H/W path 8/16/5.2.0 and to get all the devices on that path starting from root do the following:

# ioscan -H 8

Do not consider the instance number as that is a sequential instance number assigned by HPUX which is done as and when the devices are discovered by the machine.

~hope it helps
Torsten.
Acclaimed Contributor

Re: ioscan output

Hi,

it always depends on the type of your system.

Try to find the LBAs (local bus adapter):

ioscan -fndlba

this will give you something like

# ioscan -fndlba
Class I H/W Path Driver S/W State H/W Type Description
============================================================
ba 0 0/0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
ba 2 0/0/1 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)
ba 3 0/0/2 lba CLAIMED BUS_NEXUS Local PCI-X Bus Adapter (12ee)


another "ioscan" may show you the SBAs (system bus adapter):

ioa 0 0/0 sba CLAIMED BUS_NEXUS System Bus Ada
pter (12eb)

putting this together:

Cell0 gives you the "0"
the connected SBA gives you "0/0"
the connected LBA gives you "0/0/0"

a SCSI/LAN combo card in this slot gives you

ioa 0 0/0 sba CLAIMED BUS_NEXUS System Bus Ada
pter (12eb)
ba 0 0/0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bu
s Adapter (12ee)
ba 1 0/0/0/1/0 PCItoPCI CLAIMED BUS_NEXUS PCItoPCI Bridg
e
ext_bus 0 0/0/0/1/0/4/0 mpt CLAIMED INTERFACE HP AB290-60001
PCI/PCI-X U320 SCSI 2-port U320 SCSI/2-port 1000B-T Combo Adapter
/dev/mpt0


and a connected tape

target 0 0/0/0/1/0/4/0.0 tgt CLAIMED DEVICE

tape 0 0/0/0/1/0/4/0.0.0 stape CLAIMED DEVICE
HP C5683A
/dev/rmt/0m /dev/rmt/c0t0d0BESTn
/dev/rmt/0mb /dev/rmt/c0t0d0BESTnb
/dev/rmt/0mn /dev/rmt/c0t0d0DDS
/dev/rmt/0mnb /dev/rmt/c0t0d0DDSb
/dev/rmt/c0t0d0BEST /dev/rmt/c0t0d0DDSn
/dev/rmt/c0t0d0BESTb /dev/rmt/c0t0d0DDSnb



So in this case we have a tape device with SCSI ID 0 connected to a cell-based server.

With some more nformation (not in this example) I can tell you exactly where the cable is connected.

Welcome to the wonderful worls of hardware-pathes ;-)

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!   
Torsten.
Acclaimed Contributor

Re: ioscan output

again the important part of the "ioscan -fn":

# ioscan -fn
Class I H/W Path Driver S/W State H/W Type Description
==============================================================================
root 0 root CLAIMED BUS_NEXUS
cell 0 0 cell CLAIMED BUS_NEXUS
ioa 0 0/0 sba CLAIMED BUS_NEXUS System Bus Ada
pter (12eb)
ba 0 0/0/0 lba CLAIMED BUS_NEXUS Local PCI-X Bu
s Adapter (12ee)

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!