scsimgr.1m (2010 09)
s
scsimgr(1M) scsimgr(1M)
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:
scsimgr ddr_add -N ’/escsi/esdisk/0x0/HP /ST39103FC’
To delete a settable attribute scope for disk devices from HP with product identifier "ST39103FC" bound
to driver esdisk. It will no longer be possible to modify default attributes values for these devices only:
scsimgr ddr_del -N ’/escsi/esdisk/0x0/HP /ST39103FC’
To list settable attribute scopes registered for all drivers:
scsimgr ddr_list
To generate a settable attribute scope covering LUN disk20 and including elements down to the product
identifier:
scsimgr ddr_name -D /dev/rdisk/disk20 pid
To validate replacement of disk0 and re-assign its DSF to the replacing LUN:
scsimgr replace_wwid -D /dev/rdisk/disk0 dsf
To unbind all LUN paths that were associated with disk0:
scsimgr replace_wwid -D /dev/rdisk/disk0
To validate change of LUN associated with LUN path with class lunpath and instance number 2:
scsimgr replace_wwid -C lunpath -I 2
To validate change of LUN to which legacy DSF /dev/rdsk/c0t5d0 is bound to:
scsimgr replace_leg_dsf -D /dev/rdsk/c0t5d0
To force reset of LUN disk0:
scsimgr -f lun_reset -D dev/rdisk/disk0
HP-UX 11i Version 3: September 2010 − 25 − Hewlett-Packard Company 25