HP-UX Reference (11i v2 04/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 [-o ola_params ]...
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.
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.
scsictl command can be used to clear persistent reservation from a device, as shown in the third 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 follow-
ing:
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, etc. 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 negoti-
able parameters of a bus.
get_lun_parms This command displays information about limits and negoti-
able parameters of a physical or a virtual peripheral device.
get_target_parms This command displays information about limits and negoti-
able 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
HP-UX 11i Version 2: September 2004 1 Hewlett-Packard Company Section 1M743