- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: ioscan options and output
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 08:56 AM
11-08-2011 08:56 AM
ioscan options and output
Hi, I just have a question about ioscan usage:
the class "target", used with "-C" switch, which kind od devices shows?
# ioscan -fnC target
Thank you.
Gabriel
- Tags:
- ioscan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2011 09:05 AM
11-08-2011 09:05 AM
Re: ioscan options and output
Experimentation is usually the best to figure something out. Here's output from one of my systems:
root@sg1:/ # ioscan -knfC target Class I H/W Path Driver S/W State H/W Type Description ====================================================================== target 7 0/0/1/0.7 tgt CLAIMED DEVICE target 0 0/0/1/1.0 tgt CLAIMED DEVICE target 2 0/0/1/1.2 tgt CLAIMED DEVICE target 4 0/0/1/1.7 tgt CLAIMED DEVICE target 1 0/0/2/0.0 tgt CLAIMED DEVICE target 6 0/0/2/0.7 tgt CLAIMED DEVICE target 8 0/0/2/0.14 tgt CLAIMED DEVICE target 3 0/0/2/1.2 tgt CLAIMED DEVICE target 5 0/0/2/1.7 tgt CLAIMED DEVICE target 9 0/8/0/0.8.0.255.4.0 tgt CLAIMED DEVICE target 10 0/8/0/0.8.0.255.4.1 tgt CLAIMED DEVICE target 11 0/8/0/0.8.0.255.4.15 tgt CLAIMED DEVICE
Here's a full ioscan so you can see where the 'target's come from:
root@sg1:/ # ioscan -knf
Class I H/W Path Driver S/W State H/W Type Description
=============================================================================
root 0 root CLAIMED BUS_NEXUS
ioa 0 0 sba CLAIMED BUS_NEXUS System Bus Adapter (803)
ba 0 0/0 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
lan 0 0/0/0/0 btlan CLAIMED INTERFACE HP PCI 10/100Base-TX Core
ext_bus 0 0/0/1/0 c8xx CLAIMED INTERFACE SCSI C896 Ultra Wide LVD
target 7 0/0/1/0.7 tgt CLAIMED DEVICE
ctl 3 0/0/1/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c0t7d0
ext_bus 1 0/0/1/1 c8xx CLAIMED INTERFACE SCSI C896 Ultra Wide Single-Ended
target 0 0/0/1/1.0 tgt CLAIMED DEVICE
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
target 2 0/0/1/1.2 tgt CLAIMED DEVICE
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
target 4 0/0/1/1.7 tgt CLAIMED DEVICE
ctl 1 0/0/1/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c1t7d0
ext_bus 2 0/0/2/0 c8xx CLAIMED INTERFACE SCSI C87x Ultra Wide Single-Ended
target 1 0/0/2/0.0 tgt CLAIMED DEVICE
disk 2 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
target 6 0/0/2/0.7 tgt CLAIMED DEVICE
ctl 2 0/0/2/0.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c2t7d0
target 8 0/0/2/0.14 tgt CLAIMED DEVICE
disk 3 0/0/2/0.14.0 sdisk CLAIMED DEVICE HP 36.4GST336752LC
/dev/dsk/c2t14d0 /dev/rdsk/c2t14d0
ext_bus 3 0/0/2/1 c8xx CLAIMED INTERFACE SCSI C87x Ultra Wide Single-Ended
target 3 0/0/2/1.2 tgt CLAIMED DEVICE
disk 4 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
target 5 0/0/2/1.7 tgt CLAIMED DEVICE
ctl 0 0/0/2/1.7.0 sctl CLAIMED DEVICE Initiator
/dev/rscsi/c3t7d0
unknown -1 0/0/4/0 UNCLAIMED UNKNOWN PCI BaseSystem (103c128d)
tty 2 0/0/4/1 asio0 CLAIMED INTERFACE PCI Serial (103c1048)
/dev/GSPdiag1 /dev/diag/mux2 /dev/mux2 /dev/tty2p0 /dev/tty2p2 /dev/tty2p3 /dev/tty2p4
ba 1 0/1 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 2 0/2 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 3 0/3 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 4 0/4 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 5 0/5 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 6 0/8 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
fc 1 0/8/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter
/dev/td1
fcp 2 0/8/0/0.8 fcp CLAIMED INTERFACE FCP Protocol Adapter
ext_bus 4 0/8/0/0.8.0.255.4 fcpdev CLAIMED INTERFACE FCP Device Interface
target 9 0/8/0/0.8.0.255.4.0 tgt CLAIMED DEVICE
disk 5 0/8/0/0.8.0.255.4.0.0 sdisk CLAIMED DEVICE HP 73.4GST373453FC
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
target 10 0/8/0/0.8.0.255.4.1 tgt CLAIMED DEVICE
disk 6 0/8/0/0.8.0.255.4.1.0 sdisk CLAIMED DEVICE HPQ BF07258243
/dev/dsk/c4t1d0 /dev/rdsk/c4t1d0
target 11 0/8/0/0.8.0.255.4.15 tgt CLAIMED DEVICE
ctl 4 0/8/0/0.8.0.255.4.15.0 sctl CLAIMED DEVICE HP A6255A
/dev/rscsi/c4t15d0
ba 7 0/9 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
ba 8 0/10 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
fc 2 0/10/0/0 td CLAIMED INTERFACE HP Tachyon TL/TS Fibre Channel Mass Storage Adapter
/dev/td2
ba 9 0/12 lba CLAIMED BUS_NEXUS Local PCI Bus Adapter (782)
lan 1 0/12/0/0 iether CLAIMED INTERFACE HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core
lan 2 0/12/0/1 iether CLAIMED INTERFACE HP AB352-60001 PCI/PCI-X 1000Base-T Dual-port Core
pbc 0 32 pbc CLAIMED BUS_NEXUS Bus Converter
processor 0 33 processor CLAIMED PROCESSOR Processor
pbc 1 36 pbc CLAIMED BUS_NEXUS Bus Converter
processor 1 37 processor CLAIMED PROCESSOR Processor
pbc 2 96 pbc CLAIMED BUS_NEXUS Bus Converter
processor 2 97 processor CLAIMED PROCESSOR Processor
pbc 3 100 pbc CLAIMED BUS_NEXUS Bus Converter
processor 3 101 processor CLAIMED PROCESSOR Processor
memory 0 192 memory CLAIMED MEMORY Memory
vroot_rdsk 0 255/1 rdsk_root CLAIMED VIRTBUS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2011 01:05 PM
11-09-2011 01:05 PM
Re: ioscan options and output
The TARGET is just that...the target device on the path. By itself it is not much, but combined with the previous entry (ext_bus for example) and the following entry (disk for example) in the IO tree you can see what that device is attached to and what that device is.
-Bob
Was this helpful? Like this post by giving me a thumbs up below!