scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)

SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk101
name = leg_mpath_enable
current = false
default = false
saved =
name = state
current = ONLINE
default =
saved =
Because the user has explicitly set it to true, the current value of leg_mpath_enable for disk100 is no
longer inherited from the global level. It is inherited from the global level for disk101 because it has
not been explicitly set for disk101. This shows the precedence of the value set at the object instance
level over the value set at a higher level.
Dynamic update of attributes
This example illustrates the dynamic update of attributes implemented by the esdisk class driver
starting from the March 2008 release of HP-UX 11i v3.
esd_secs attribute determines the timeout of I/O operations to block devices. This attribute is settable
at a settable attribute scope level (for a set of devices), or for a specific device. In this example
disk15 and disk16 are bound to the esdisk driver as shown by the ioscan command output
below. By default esdisk sets esd_secs to 30 seconds for all devices bound to it.
# ioscan -fknNCdisk
Class I H/W Path Driver S/W State H/W Type Description
===================================================================
disk 14 64000/0xfa00/0x2 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk14 /dev/rdisk/disk14
disk 15 64000/0xfa00/0x3 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk15 /dev/rdisk/disk15
disk 16 64000/0xfa00/0x4 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
/dev/disk/disk16 /dev/rdisk/disk16
disk 17 64000/0xfa00/0x5 esdisk CLAIMED DEVICE COMPAQ MSA1000 VOLUME
# scsimgr get_attr -N /escsi/esdisk -a esd_secs
SCSI ATTRIBUTES FOR DDR ENTRY : /escsi/esdisk
name = esd_secs
current = 30
default = 30
saved =
You can display the value of esd_secs for disk15 and disk16 by running the following commands
#scsimgr get_attr -D /dev/rdisk/disk15 -a esd_secs
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk15
name = esd_secs
current = 30
default = 30
saved =
# scsimgr get_attr -D /dev/rdisk/disk16 -a esd_secs
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk16
name = esd_secs
current = 30
21