scsimgr.1m (2011 03)
s
scsimgr(1M) scsimgr(1M)
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
To display information on disk driver specific attributes for
disk0:
scsimgr get_attr -d esdisk -D /dev/rdisk/disk0
To set current values of attributes tport_qdepth_enable
, tport_max_qdepth, and
tport_qd_dyn for all target paths to arrays from HP whose controller LUN reports a product id of
"MSA CONTROLLER":
scsimgr set_attr -N "/escsi/esctl/0xc/HP /MSA CONTROLLER "\
-a tport_qdepth_enable=1 \
-a tport_max_qdepth=512 -a tport_qd_dyn=1
To set current values of attributes tport_qdepth_enable
, tport_max_qdepth, and
tport_qd_dyn for the hardware path 0/3/1/0.0x50001fe100270e29
:
scsimgr set_attr -H 0/3/1/0.0x50001fe100270e29 \
-a tport_qdepth_enable=1 \
-a tport_max_qdepth=128 -a tport_qd_dyn=1
To set current values of attributes leg_mpath_enable and max_q_depth for disk0:
scsimgr set_attr -D /dev/rdisk/disk0 -a leg_mpath_enable=false \
-a max_q_depth=10
To save value of attribute leg_mpath_enable for disk0:
scsimgr save_attr -D /dev/rdisk/disk0 -a leg_mpath_enable=false
To save default value of attribute leg_mpath_enable for disk0:
scsimgr save_attr -D /dev/rdisk/disk0 -a leg_mpath_enable=default
To save default value of all settable attributes for disk0:
scsimgr save_attr -C disk -I 0 default
To save default values for specific global attributes:
scsimgr save_attr default -a max_q_depth -a escsi_dbg_lvl
To add a settable attribute scope corresponding to all disk devices from HP with product identifier
"ST39103FC" bound to driver esdisk. Default values for attributes can be changed for these devices:
HP-UX 11i Version 3: March 2011 − 25 − Hewlett-Packard Company 25