HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
s
scsictl(1M) scsictl(1M)
NAME
scsictl - control a SCSI device
SYNOPSIS
scsictl [-akq][-c command]... [
-m mode[=value]]... device
scsictl -p pr_clear key 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.
scsictl command can be used to clear persistent reservation from a device, as shown in the second form
above, using the -p option.
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.
domain_val
Domain validation allows the user to check the quality of transmissions across
the bus and helps to find problems like faulty and missing terminators, bad com-
ponents, etc. This command is valid for only Ultra160 and later devices. If any
errors are encountered during domain validation, they will be logged in the sys-
log file.
get_bus_parms
This command displays information about limits and negotiable parameters of a
bus.
get_lun_parms
This command displays information about limits and negotiable parameters of a
physical or virtual peripheral device.
get_target_parms
This command displays information about limits and negotiable parameters of a
target peripheral device.
reset_target
This command causes a target reset task management function to be sent to the
associated target.
reset_bus
This command causes the system to generate a SCSI bus reset condition on the
associated bus. A SCSI bus reset condition causes all devices on the bus to be
reset (including clearing all active commands on all devices).
-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.
HP-UX 11i Version 1: September 2005 − 1 − Hewlett-Packard Company Section 1M−−813