HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)

s
scsictl(1M) scsictl(1M)
-m mode Display the status of the specified mode parameter. mode can be one of the following:
immediate_report
For devices that support immediate reporting, this mode controls how the device
responds to write requests. If immediate report is enabled (
1), write requests
can be acknowledged before the data is physically transferred to the media. If
immediate report is disabled (
0), the device is forced to await the completion of
any write request before reporting its status.
ir Equivalent to immediate_report
.
queue_depth
For devices that support a queue depth greater than the system default, this
mode controls how many I/Os the driver will attempt to queue to the device at
any one time. Valid values are (
1255). Some disk devices will not support the
maximum queue depth settable by this command. Setting the queue depth in
software to a value larger than the disk can handle will result in I/Os being held
off once a QUEUE FULL condition exists on the disk.
-m mode=value
Set the mode parameter mode to value. The available mode parameters and values are
listed above.
Mode parameters that take only a binary value (1 or 0) can also be specified as either
on
or off, respectively.
-q Suppress the labels that are normally printed when mode parameters are displayed. Mode
parameter values are printed in the same order as they appear on the command line,
separated by semicolon-blank (
; ) or newline.
-p pr_clear key device
The scsictl command with the -p pr_clear option can be used to clear the per-
sistent reservation from a device. This command can not be clubbed with any other options
or commands available for the scsictl command.
This command should be followed by two arguments: key and device. key is a string of
characters which was used while setting persistent reservation. This key can be in any of
the following two formats:
(a) Text format: can contain any of alphanumeric characters. In this format length of the
key should not exceed 8 characters.
(b) Hex format: preceded by 0x or 0X, can contain any of hexadecimal digit. In this format
length of the string should not exceed 18 characters in total (including 0x or 0X).
Mode parameters and commands need only be specified up to a unique prefix. When abbreviating a mode
parameter or command, at least the first three characters must be supplied.
DIAGNOSTICS
Diagnostic messages are generally self-explanatory.
EXAMPLES
To display all the mode parameters, turn immediate_report on, and redisplay the value of
immediate_report:
scsictl -a -m ir=1 -m ir /dev/rdsk/c0t6d0
producing the following output:
immediate_report = 0; queue_depth = 8; immediate_report = 1
The same operation with labels suppressed:
scsictl -aq -m ir=1 -m ir /dev/rdsk/c0t6d0
produces the following output:
0; 8; 1
To clear persistent reservation from a device:
Section 1M814 Hewlett-Packard Company 2 HP-UX 11i Version 1: September 2005