Content-type: text/html
tapex - Tape exerciser program
/usr/field/tapex [ option(s) ] [parameter(s) ]
The tapex program tests tape driver functionality. Functions that are tested include:
When tapex is run, a writable tape must be loaded in the drive being tested, and the drive must be online.
Some tapex options cause specific tests to be performed, for example, an end-of-media test. Other options modify the tests, for example, enabling caching. The tapex options are as follows:
The following parameters modify the actions of the options:
You can change the default test parameters either by using the -i option described previously or by specifying the parameters in the command line. This section describes the parameters you can set in the command line, listed with the associated test.
To specify a value, type the parameter name followed by a space and then the number. For example -min_rs 512 specifies a minimum record size of 512 blocks. The following scaling factors are allowed:
For example, 10K would specify 10240 bytes.
These parameters are associated with the option -a:
These parameters are associated with the option -d:
These parameters are associated with the option -e.
Note that specifying too much data to be written past EOM could cause a reel-to-reel tape to go off the end.
These parameters are associated with the option -F:
This parameter is associated with the option -g:
These parameters are associated with the options -j and -k:
These parameters are associated with the option -L:
These parameters are associated with the option -R:
These parameters are associated with the options -r and -S:
These parameters are associated with the option -s:
This parameter is associated with all tests:
This example runs a series of tests on tape device rmt1h and sends all output to a file called tapex.out. tapex -f /dev/rmt1h -E -o tapex.out This example runs the end-of-media test on tape device rmt4h. Verbose mode is specified, which causes additional output. By default, output is directed to the terminal. tapex -f /dev/rmt4h -v -e This example performs read/write record testing. By default, this test runs on the default tape device /dev/rmt0h and output is sent to the terminal. tapex -r This example performs read/write record testing using record sizes in the range 10k to a maximum record size of 20k. By default, this test runs on the default tape device /dev/rmt0h and output is sent to the terminal. tapex -r -min_rs 10k -max_rs 20k This example performs a series of tests on tape device /dev/rmt0h, which is treated as fixed block device in which record sizes for tests are multiples of the blocking factor 512 kilobytes. The append to media test is not performed. tapex -f /dev/rmt0h -fixed 512 -no_overwrite
cmx(8), fsx(8), shmx(8), memx(8), diskx(8) delim off