HP-UX Reference (11i v3 07/02) - 1M System Administration Commands N-Z (vol 4)

s
scsimgr(1M) scsimgr(1M)
scsimgr get_attr -d esdisk -D /dev/rdisk/disk0
To set current values of attributes leg_mpath_enable
and max_q_depth
for disk0:
scsimgr set_attr -D /dev/rdisk/disk0 -a leg_mapth_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_mapth_enable=false
To save default value of attribute leg_mpath_enable
for
disk0:
scsimgr save_attr -D /dev/rdisk/disk0 -a leg_mapth_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 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
To cause a warm target reset of device corresponding to
disk0:
scsimgr warm_bdr -D dev/rdisk/disk0
To cause a cold target reset of device corresponding to disk0:
scsimgr warm_bdr -D dev/rdisk/disk0
To disable LUN path with the hardware path
0/4/1/0.0x60060b000014f45a.0x4001000000000000
:
scsimgr disable -H 0/4/1/0.0x60060b000014f45a.0x4001000000000000
To enable disk0:
scsimgr enable -D /dev/rdisk/disk0
To set user friendly device identifier for LUN of class disk and instance 7:
scsimgr set_devid -C disk -I 7 "Disk with Credit Card information"
To get user friendly device identifier for LUN of class disk and instance 7:
324 Hewlett-Packard Company 16 HP-UX 11i Version 3: February 2007