/usr/sbin/ioscan [-F] -m dsf [devfile]
/usr/sbin/ioscan -m hwpath [-F] [-H hw_path]
/usr/sbin/ioscan -s
/usr/sbin/ioscan -r -H hw_path
/usr/sbin/ioscan -B
/usr/sbin/ioscan -U
/usr/sbin/ioscan -a [-F]
For a complete explanation of
ioscan
command line options and parameters for the version of
HP-UX that you are using, see the
ioscan(1M)
manpage.
Displaying Interface and Disk Information
The following example will display information about interface cards which use the
sasd
driver:
# ioscan -fnkd sasd
Class I H/W Path Driver S/W State H/W Type Description
====================================================================
escsi_ctlr 0 0/4/1/0 sasd CLAIMED INTERFACE HP PCI/PCI-X SAS MPT Adapter
/dev/sasd0
The following example will display information about disk devices:
# ioscan -fnkC disk
Class I H/W Path Driver S/W State H/W Type Descript
ion
====================================================================================
disk 0 0/0/2/1.0.16.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 3 0/4/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG072A9BB7
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 4 0/4/1/0.0.0.3.0 sdisk CLAIMED DEVICE HP DG072A9BB7
/dev/dsk/c1t3d0 /dev/rdsk/c1t3d0
disk 5 0/4/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG036A8B5B
/dev/dsk/c1t4d0 /dev/rdsk/c1t4d0
disk 8 0/4/1/0.0.0.7.0 sdisk CLAIMED DEVICE HP DG036A9BB6
/dev/dsk/c1t7d0 /dev/rdsk/c1t7d0
/dev/dsk/c1t7d0s1 /dev/rdsk/c1t7d0s1
/dev/dsk/c1t7d0s2 /dev/rdsk/c1t7d0s2
/dev/dsk/c1t7d0s3 /dev/rdsk/c1t7d0s3
disk 11 0/4/1/0.0.0.10.0 sdisk CLAIMED DEVICE HP IR Volume
/dev/dsk/c1t10d0 /dev/rdsk/c1t10d0
For each hardware module on the system,
ioscan
displays by default the hardware path to the
hardware module, the class of the hardware module, and a brief description. If the device is
connected, but not found, then it is in a “no hardware” state. If the device is in a no hardware
state, use
sasmgr
to further check the state of the I/O card; see
“Displaying General Statistics
and Information” (page 57)
.
The sasmgr Utility
You can use the
sasmgr
utility to manage HP-UX Serial Attached SCSI (SAS) mass storage core
I/O controllers. The
sasmgr
command syntax is as follows:
SYNTAX
Path: /opt/sas/bin
sasmgr [-h][-f] add -D device_file -q raid -q level=raid_level -q
enc_bay=enc:bay[,enc:bay] [-q size=size] [-q rebuild_rate=rate]
sasmgr [-h][-f] add -D device_file -q raid -q spare -q enc_bay=enc:bay
sasmgr [-h][-f] bdr -D device_file -q lun={all | lun_dsf}
52
Configuring and Troubleshooting the Controller Online