scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)
Examples of using scsimgr
The following scsimgr examples show how to use some of the command important features.
Gathering status information and statistics
The scsimgr command provides an extensive set of status information, statistics and attributes for
SCSI subsystems (class drivers, interface drivers) and objects (LUNs, lunpaths, target paths and SCSI
HBA controllers). This simplifies the monitoring of the mass storage activity and enables to quickly root
cause problems. You can analyze statistics at different levels (interface driver, SCSI services, class
driver) to root cause a problem.
The following output of the scsimgr command shows:
• Generic information displayed on SCSI objects independent of the driver managing them.
• Class specific information displayed with the help of class driver plug-ins. If a plug-in is
present, scsimgr displays automatically the information.
• How to send a command to a driver plug-in with the ‘-d’ option.
• How scsimgr is capable of accepting different types of identifiers for SCSI objects: device
file name, class and instance number, hardware path.
Status information for a SCSI disk device identified by its device file name
# scsimgr get_info -D /dev/rdisk/disk20
STATUS INFORMATION FOR LUN : /dev/rdisk/disk20
Generic Status Information
SCSI services internal state = UNOPEN
Device type = Direct_Access
EVPD page 0x83 description code = 1
EVPD page 0x83 description association = 0
EVPD page 0x83 description type = 3
World Wide Identifier (WWID) = 0x20000020371972eb
Serial number = LS24603100001008K74M
Vendor id = SEAGATE
Product id = ST39103FC
Product revision = HP06
Other properties =
SPC protocol revision = 2
Open count (includes chr/blk/pass-thru/class) = 0
Raw open count (includes class/pass-thru) = 0
Pass-thru opens = 0
LUN path count = 2
Active LUN paths = 2
Standby LUN paths = 0
Failed LUN paths = 0
Maximum I/O size allowed = 2097152
Preferred I/O size = 2097152
Outstanding I/Os = 0
I/O load balance policy = preferred_path
Path fail threshold time period = 0
Transient time period = 180
Tracing buffer size = 1024
LUN Path used when policy is path_lockdown = NA
Driver esdisk Status Information :
Capacity in number of blocks = 17773524
Block size in bytes = 512
Number of active IOs = 0
Special properties =
Maximum number of IO retries = 45
8