TAPEEXERCISE(8) Legato NetWorker 3.0 TAPEEXERCISE(8)
NAME
tapeexercise - exercise a tape drive
SYNOPSIS
tapeexercise [ -b size ] [ -f files ] [ -l loops ] [ -r records ] [
-ceFhnoRstv ] devname
DESCRIPTION
The tapeexercise program writes sample data to a tape, and tests to
see if positioning and read operations perform as expected. It needs
a write-enabled tape on the indicated (no-rewind) drive. Tapeexer
cise will prompt for confirmation prior to destroying all data on the
tape without checking the label. Tapeexercise should be used with
extreme caution.
OPTIONS
-b size
Set the buffer size to size bytes. The default is 32768
bytes, which is also the default NetWorker buffer size.
-c Close and reopen the device between each file read.
-e Don not write EOT marks (two consecutive EOF marks) since on
some tape devices this renders the tape un-appendable.
-F Turn on a ``fork'' operation that is done at the start of
every file. Some operating systems have bugs with child pro
cesses exiting during tape operations.
-f files
Write the given number of files on the tape during each loop.
The default number is ten (10).
-h Perform half-inch tape style file skipping.
-l loops
Specify the number of times to run the test.
-n Normally the tape device is closed and reopened on every tran
sition from writing to reading; this option causes the tape
device to remain open. If this option causes errors to go
away, make sure that you are specifying the non-rewind tape
device.
-o Write only one record in the first tape file; this simulates
the NetWorker media label.
-R Just read the tape after writing it. No skips or open/closes
are performed.
-r records
Records is the number of size records to read/write per file.
The default is twenty (20).
Licensed material--property of copyright holder(s) 1
TAPEEXERCISE(8) Legato NetWorker 3.0 TAPEEXERCISE(8)
-s Skip files when reading.
-t Read only the last files on the tape. See the -f option
above.
-v Operate in verbose mode.
-Y Don't prompt prior to destroying contents of tape.
devname
The device name of the tape device under test. This should be
a non-rewind device, following the local operating system con
vention.
Licensed material--property of copyright holder(s) 2