scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)
current = true
default = true
saved =
# scsimgr get_attr –D /dev/rdisk/disk100 -a leg_mpath_enable
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk100
name = leg_mpath_enable
current = true
default = true
saved =
# scsimgr get_attr –D /dev/rdisk/disk101 -a leg_mpath_enable
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk101
name = leg_mpath_enable
current = true
default = true
saved =
You can set leg_mpath_enable to be persistently true for disk100. This action overrides the default
behavior (the setting at the global level). The LUN disk100 no longer inherits the current value of
leg_mpath_enable from the global level, but its default value is still inherited from the current value of
leg_mpath_enable at the global level.
Setting the attribute persistently updates the current and saved values. Hence, the saved value of
leg_mpath_enable is now defined for disk100. If the system is rebooted, the current value of
leg_mpath_enable for disk100 will be set to its saved value.
# scsimgr save_attr -D /dev/rdisk/disk100 -a leg_mpath_enable=true
Value of attribute leg_mpath_enable saved successfully
# scsimgr get_attr -D /dev/rdisk/disk100 -a leg_mpath_enable
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk100
name = leg_mpath_enable
current = true
default = true
saved = true
Change the value of leg_mpath_enable to false at a global level, and open disk100 and disk101 to
update their attribute current values by running the following commands.
# scsimgr set_attr -a leg_mpath_enable=false
Value of attribute leg_mpath_enable set successfully
# dd if=/dev/rdisk/disk100 of=/dev/null count=100000 &
[1] 28618
# dd if=/dev/rdisk/disk101 of=/dev/null count=100000 &
[2] 28632
# scsimgr get_attr -D /dev/rdisk/disk100 -a leg_mpath_enable –a state
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk100
name = leg_mpath_enable
current = true
default = false
saved = true
name = state
current = ONLINE
default =
saved =
# scsimgr get_attr -D /dev/rdisk/disk101 -a leg_mpath_enable –a state
20