scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)
# scsimgr save_attr -N "/escsi/esdisk/0x0/HP /ST3360LCB " -a
path_fail_secss=160 -a load_bal_policy=least_cmd_load
Value of attribute path_fail_secs saved successfully
Value of attribute load_bal_policy saved successfully
# scsimgr get_attr -N "/escsi/esdisk/0x0/HP /ST3360LCB " -a
path_fail_secss -a load_bal_policy
SCSI ATTRIBUTES FOR SETTABLE ATTRIBUTE SCOPE : /escsi/esdisk/0x0/HP
/ST39103FC2
name = path_fail_secs
current = 160
default = 120
saved = 160
name = load_bal_policy
current = least_cmd_load
default = round_robin
saved = least_cmd_load
3 Set max_q_depth to 4 for HP disk devices with pid: ST39103FC2.
scsimgr save_attr -N "/escsi/esdisk/0x0/HP /ST39103FC2 " -a
max_q_depth=4
Value of attribute max_q_depth saved successfully
scsimgr get_attr -N "/escsi/esdisk/0x0/HP /ST39103FC2 " -a max_q_depth
SCSI ATTRIBUTES FOR SETTABLE ATTRIBUTE SCOPE : /escsi/esdisk/0x0/HP
/ST39103FC2
name = max_q_depth
current = 4
default = 8
saved = 4
4 Set path_fail_secs to 240 seconds for disk0.
# scsimgr save_attr -D /dev/rdisk/disk0 -a path_fail_secs=240
Value of attribute path_fail_secs saved successfully
# scsimgr get_attr -D /dev/rdisk/disk0 -a path_fail_secs
name = path_fail_secs
current = 240
default = 120
saved = 240
After fine tuning these tunables, examine their values for 3 disk devices: disk0, disk1 and disk2. The
disks are all manufactured by HP and have the following product identifiers respectively: OPEN-V,
ST3360LCB and ST39103FC2.
The scsimgr command output below show the values of the tunables before the disks are opened or
re-opened - in other words before the attributes are reloaded.
Note the following:
• For all disks, the current values of the attributes remain unchanged. This is due to the fact that
the attributes are not yet refreshed and the current values still reflect the last used values.
• disk0:
24