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

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
scsictl(1M) scsictl(1M)
NAME
scsictl - control a SCSI device
SYNOPSIS
scsictl [-akq][-c command]... [-m mode[=value]]... device
DESCRIPTION
The scsictl command provides a mechanism for controlling a SCSI device. It can be used to query
mode parameters, set configurable mode parameters, and perform SCSI commands. The operations are
performed in the same order as they appear on the command line.
device specifies the character special file to use.
Options
scsictl recognizes the following options.
-a Display the status of all mode parameters available, separated by semicolon-blank (; )or
newline.
-c command
Cause the device to perform the specified command. command can be one of the following:
erase For magneto-optical devices that support write without erase, this command can
be used to pre-erase the whole surface to increase data throughput on subse-
quent write operations. This command maintains exclusive access to the surface
during the pre-erasure.
sync_cache
For devices that have an internal write cache, this command causes the device to
flush its cache to the physical medium.
-k Continue processing arguments even after an error is detected. The default behavior is to
exit immediately when an error is detected.
Command line syntax is always verified for correctness, regardless of the -k option.
Improper command line syntax causes
scsictl to exit without performing any opera-
tions on the device.
-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.
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.
HP-UX Release 11i: December 2000 1 Section 1M765
___
___