Running tests (clf) – HP Library and Tape Tools User Manual

Page 64

Advertising
background image

Running tests (CLF)

L&TT can be launched from the command line to perform various tests. L&TT
runs the test specified by the testname parameter on the device specified by

Description

the device path (p) parameter. These two parameters are required; all other
parameters are optional.

The following tests are currently supported from the command line:

• “Connectivity test” (page 86)
• “Device Analysis test” (page 73)
• “Device Self-test” (page 89)
• “Drive Assessment test” (page 72)
• “LTO Media Assessment Full Tape test” (page 75)
• “DDS Media Assessment test” (page 108)

hp_ltt -f test p=<device path> testname=<test name>

[password=<password>] [iohistory=<enable|disable>]

Syntax

[testopt=<option1 name:option1 value>] [testopt=<option2

name:option2 value>][instname=<instance name>]

[dirpath=<directory path>]

Enter the device path. The format for
the device path varies depending on

p

Parameters

the operating system. To determine the
proper format for your device, first
perform a scan of the bus. For more
information, see

“Scanning the bus ”

(page 62)

. Output of the scan is written

to the saved_scan.txt file in the
L&TT root directory. Examine this file to
determine the proper format. This
parameter is required.

Enter the test name to perform. The test
names for the supported tests are:

testname

•

Connectivity test

•

Device Analysis

•

Device Self-test

•

LTO Drive Assessment test

•

SDLT Drive Assessment test

•

DDS Drive Assessment test

•

LTO Media Assessment test

•

DDS Media Assessment test

For the proper syntax, see the
Command line syntax entry for the
desired command in

“Diagnostic tests”

(page 71)

. This parameter is required.

Optional. Specify enabled or
disabled

. When enabled, L&TT

iohistory

generates a detailed event log that
captures all L&TT diagnostic interaction,
all SCSI commands sent and received
by the program, and any software
interactions or issues. If an invalid value
is provided, L&TT retains the existing
setting.

Optional. A test may have one or more
options, or no options. The Allow

testopt

Overwrite

test option must be set to

64

Command line functionality

Advertising