scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)
For disk100 and disk101, the current value of leg_mpath_enable is still ‘true’, while the default value
is now ‘false’. This conforms to the rule for updating current values of attributes. The current value is
updated only when the device is opened. The default value is derived from the current value set at the
global level.
You can open disk100 by running the following command.
# dd if=/dev/rdisk/disk100 of=/dev/null count=100000
While the transfer is going on, you can check the value of leg_mapth_enable for disk100 and
disk101:
# scsimgr get_attr –D /dev/rdisk/disk100 -a state -a leg_mpath_enable
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk100
name = state
current = ONLINE
default =
saved =
name = leg_mpath_enable
current = false
default = false
saved =
# scsimgr get_attr –D /dev/rdisk/disk101 -a state -a leg_mpath_enable
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk101
name = state
current = UNOPEN
default =
saved =
name = leg_mpath_enable
current = true
default = false
saved =
The current value of leg_mpath_enable is now ‘false’ for disk100. This is because the current value
has been updated when the dd command opened disk100. No change is observed for disk101
because it has not yet been opened.
Precedence of the value set at the object instance level
You can run the following commands to restore the initial setting of leg_mpath_enable after system
boot.
# scsimgr save_attr –a leg_mpath_enable=default
Value of attribute leg_mpath_enable saved successfully
# dd if=/dev/rdisk/disk100 of=/dev/null count=10
10+0 records in
10+0 records out
You can check the leg_mpath_enable setting at global level, and for disk100 and disk101. It is the
same as after system reboot.
# scsimgr get_attr -a leg_mpath_enable
SCSI GLOBAL ATTRIBUTES:
name = leg_mpath_enable
19