HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

d
drivetest(1M) drivetest(1M)
The command failed due to a device error, an internal error, or a system error. The Additional Error
Info and Error Info Decode fields will hold specifics about the failure and its cause.
drivetest: Disk did not start up following reset.
The disk did not start up following a reset. Check the status of the disk.
drivetest: A diagnostic is currently running on this disk.
A diagnostic test is already running on the specified disk.
drivetest: Array was just powered-on or reset.
The command failed because the disk array has been powered-on or reset. Reissue the command and
it should succeed.
EXAMPLES
Perform a read/verify test on the disk installed in slot B3 of the disk array identified by device file
/dev/rdsk/c2t0d0
. Perform the test over 50 percent of the disk surface.
drivetest -D B3 -r 50 /dev/rdsk/c2t0d0
Perform a write/read/verify test on the disk installed in slot A5 of disk array serial number
00786b5c0000 . Perform the test over 100 percent of the disk surface. Note that before issuing this com-
mand the disk must be downed (destructively) using the
arraycfg utility.
drivetest -D A5 -w 100 00786b5c0000
Initiate a selftest on the disk installed in slot A1 of the disk array identified by alias
AUTORAID1.
drivetest -D A1 -s AUTORAID1
DEPENDENCIES
ARMServer must be running to execute this command. See ARMServer(1M).
SECURITY CONFIGURATION
This command is modified for all security configurations.
Security Behavior/Restrictions
Use of this command is restricted to authorized users only.
Command Authorizations
This command requires the sysadmin authorization to successfully execute.
Privileges
The command has been modified to support least privilege. The potential privileges possessed by the com-
mand and their uses include:
allowdacread This privilege is raised to provide discretionary read access to the devices.
allowdacwrite This privilege is raised to provide discretionary write access to the devices.
allowmacread This privilege is raised to provide mandatory read access to the devices.
allowmacwrite This privilege is raised to provide mandatory write access to the devices.
filesysops This privilege is raised to allow the mknod(2) system call to succeed.
writeaudit The command generates its own audit records and submits these directly to the sys-
tem audit trail. This privilege is raised whenever the command needs to write an
audit record.
AUTHOR
drivetest was developed by HP.
SEE ALSO
ARMServer(1M), arraycfg(1M), arraydsp(1M), arrayfmt(1M), arraylog(1M), arraymgr(1M), arrayrbld(1M),
arrayrecover(1M), dteststat(1M), download(1M), logprint(1M).
HP-UX 11i Version 1: September 2005 2 Hewlett-Packard Company Section 1M189