scsimgr SCSI Management and Diagnostics utility on HP-UX 11i v3 (March 2008)
saved =
name = max_q_depth
current = 8
default = 8
saved =
name = load_bal_policy
current = least_cmd_load
default = least_cmd_load
saved =
# scsimgr get_attr -D /dev/rdisk/disk2 -a max_q_depth -a load_bal_policy
SCSI ATTRIBUTES FOR LUN : /dev/rdisk/disk2
name = path_fail_secs
current = 120
default = 120
saved =
name = max_q_depth
current = 4
default = 4
saved =
name = load_bal_policy
current = round_robin
default = round_robin
saved =
Assigning user-friendly device identifiers and aliases for ease of
inventory
Device identifiers and aliases can be assigned in a way to simplify device inventory for instance by
integrating the usage and the asset inventory number in the identifier or alias. User-friendly device
identifiers can only be set for devices supporting the SET DEVICE IDENTIFIER and REPORT DEVICE
IDENTIFIER SCSI commands. In this case the identifier resides on non volatile memory on the device
and can be queried by all systems accessing the device.
An alias is a settable attribute that can be assigned to any device. It is stored locally on the system
registry. Therefore it must be set on each system accessing the device.
To assign the following user-friendly device identifier to disk device disk0: “Engineering - XPD0890-0”
# scsimgr -f set_devid -D /dev/rdisk/disk0 "Engineering - XPD0890-1"
scsimgr: Device Identifier successfully set
To display the device identifier assigned to disk device disk0:
# scsimgr get_devid -D /dev/rdisk/disk0
Device Identifier for /dev/rdisk/disk0 = Engineering - XPD0890-1
To display device identifiers for all devices in a scriptable output format:
# scsimgr -p get_devid all_lun
/dev/rdisk/disk0: Engineering - XPD0890-1
/dev/rdisk/disk1:
/dev/rdisk/disk2: PQS - XPD0893-2
/dev/rdisk/disk0: Engineering - XPD0890-2
Note: If the device does not support the SET DEVICE IDENTIFIER and REPORT DEVICE IDENTIFIER
SCSI commands, and you attempt to set or get the device identifier, scsimgr will display an error
message as shown in the output below
27