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

s
scsictl(1M) scsictl(1M)
NAME
scsictl - control a SCSI device
SYNOPSIS
scsictl [-akq][-m mode[
=value]]... [-c command]... device
scsictl -o ola_params arguments...
scsictl -p pr_clear key device
scsictl [-k] -t tgtid {-c
command}... ctrl
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.
The second form, as shown above, supports the online addition of a supported SCSI card to a system. This
option cannot be used with any other options available for this command.
The scsictl command can be used to clear persistent reservation from a device, as shown in the third
form above, using the -p option.
Some of the commands can be used on a controller device as shown in the fourth form. The list of com-
mands supported on a controller device is provided in the -t option description below.
device specifies the character special file to use.
ctrl specifies the special file of a parallel SCSI controller node.
Options
scsictl recognizes the following options.
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.
-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. If multiple commands need to be
specified, then each command must be prefixed by the -c option. 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 subsequent 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 components, and so on. This
command is only valid for Ultra160 and later devices. If any
errors encountered during domain validation, they will be logged
in the
syslog.
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 a 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.
HP-UX 11i Version 3: February 2007 1 Hewlett-Packard Company 305