scsimgr.1m (2010 09)
s
scsimgr(1M) scsimgr(1M)
scsimgr get_info
To get global status information for driver
esdisk:
scsimgr -v get_info -d esdisk
To get all status information of all the LUNs:
scsimgr -v get_info all_lun
To get basic status information for disk0
:
scsimgr get_info -D /dev/rdisk/disk0
To get basic status information for all LUN paths of
disk0:
scsimgr get_info -D /dev/rdisk/disk0 all_lpt
To get all status information for the SCSI controller with class
escsi_ctlr and instance number 1:
scsimgr -v get_info -C escsi_ctlr -I 1
To get all status information for the SCSI enclosure with instance number 3:
scsimgr -v get_info -O encl -I 3
To get all status information for the SCSI target port with instance number 7:
scsimgr -v get_info -O tport -I 7
To get all status information for target path with the hardware path of
0/4/1/0.0x60060b000014f45a0001000000000011
:
scsimgr -v get_info -H 0/4/1/0.0x60060b000014f45a0001000000000011
To display LUN path information for all LUNs:
scsimgr lun_map
To display LUN path information for disk0:
scsimgr lun_map -D /dev/rdisk/disk0
To display LUN path information for disk0 in a form that can be parsed:
scsimgr -p lun_map -D /dev/rdisk/disk0
To display extended information on generic global attributes:
scsimgr -v get_attr
To display driver esdisk global attributes:
scsimgr -v get_attr -d esdisk
To display information on attribute for disk0:
scsimgr get_attr -D /dev/rdisk/disk0
To display current values only of attributes for LUN whose class is disk and instance 0:
scsimgr get_attr -D /dev/rdisk/disk0 current
To display default values only of settable attributes for a SCSI HBA controller with DSF /dev/fcd3:
scsimgr get_attr -D /dev/fcd3 default settable
To display saved values only of settable attributes for all LUNs:
scsimgr get_attr all_lun saved settable
To display default attribute values for devices bound to driver esdisk:
scsimgr get_attr -N /escsi/esdisk
To display default attributes values for all disk devices from HP bound to driver esdisk:
scsimgr get_attr -N ’/escsi/esdisk/0x0/HP ’
To display current values only of specific attributes for all target paths of a SCSI HBA controller:
scsimgr get_attr -D /dev/fcd0 all_tp current -a port_name -a node_name
24 Hewlett-Packard Company − 24 − HP-UX 11i Version 3: September 2010