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

s
scsimgr(1M) scsimgr(1M)
In general, change to current value of a per-object instance of a generic attribute takes effect immediately.
For instance, if the I/O time out is changed for disk0, the new value will be used for the next I/O transfer to
disk0.
A given attribute can not necessary be set at all levels. Certain attributes can only be set at a global level.
That is the case for attributes adjusting global resource usage. Other attributes can only be set at a per
object instance level. Some drivers do not provide the possibility to set attributes at intermediate level;
such as, device type and vendor identifier.
If setting an attribute causes the system to become unstable, it may be possible to recover by rebooting the
system in single user mode. The SCSI subsystem uses attribute factory default values for objects initialized
while in single user mode.
The attribute is specified as an argument in the command line.
scsimgr performs the following operations:
Display and clear global statistics or statistics for SCSI objects.
Display status and other information for SCSI objects.
Display information for all the LUN paths to a LUN.
Get, set and save attributes for SCSI objects.
Add, remove and list settable attribute scopes for drivers
Validate the change of LUN associated to a LUN path (replace WWID).
Validate the change of LUN associated to a legacy DSF (replace a legacy DSF).
Disable or enable SCSI objects.
Perform SCSI task management functions such as LUN reset, cold target reset, warm target reset.
Set or get the user friendly character string identifying a LUN (helpful when the LUN is relocated).
Synchronize cache for block devices.
Erase blocks of optical memory devices.
Inquire SCSI devices for its characteristics.
Options
-d driver Specifies the name of the driver for driver specific commands.
Note: When this option is specified, the driver plug-in (if present) executes the command. The
driver plug-in may not necessarily support all commands. To list the commands supported by
the driver module run the following command:
scsimgr -h -d driver
-f Forces execution of destructive/disruptive operations. With this option, the command executes
without warning or prompting for confirmation.
-h Prints general usage information or help information on a specific operation
-p Produces a one line parse-able output of values separated by a colon (
:).
-v Displays verbose or extended output where applicable.
command Specifies a supported scsimgr command. Supported commands include:
clear_stat Clears statistics.
cold_bdr Performs a cold reset on a target device.
ddr_add Defines a new settable attribute scope for a driver
ddr_del Deletes a settable attribute scope for a driver
ddr_list Lists driver settable attribute scopes
disable Disables a SCSI object.
enable Enables a SCSI object.
erase Pre-erases the medium of a magneto-optical device.
get_attr Displays information on attributes.
get_devid Gets an identifier for a device.
get_info Displays information.
310 Hewlett-Packard Company 2 HP-UX 11i Version 3: February 2007