To measure read performance on drive rmt1 using the previously-written uncompressed and
compressed files:
% iocheck -r -t 20 -b 1mb /dev/rmt1.1
% iocheck -r -t 20 -b 1mb /dev/rmt1.1
To unload a tape:
% tctl -f <device> rewoffl
Repeat the above steps for each tape drive.
4.4.2. Solaris
On each Tape Mover node, verify that each tape drive has the variable-length block size option
enabled.
To determine if the variable block size option is enabled, the following should complete successfully:
% dd if=/dev/null of=/dev/rmt/0n bs=80 count=1
% dd if=/dev/null of=/dev/rmt/0n bs=1024 count=1
If the variable-length block size option is not enabled, consult your driver documentation for
procedures to enable it.
On each Tape Mover node, verify that the raw read and write I/O performance of all HPSS tape
drives are at the expected levels. Create one or more tables documenting the results.
To conduct the read and write tests on /dev/rmt/0, mount a scratch tape on /dev/rmt/0 and issue the
following commands.
WARNING: The contents of this tape will be overwritten by iocheck so be sure to mount the
correct tape cartridge.
To measure uncompressed write performance (Note that specifying 0n will cause the tape not to
rewind):
% iocheck -w -t 20 -b 1mb /dev/rmt/0n
To measure the maximum-compressed write performance on 0 and then rewind the tape:
% iocheck -w -t 20 -f 0 -b 1mb /dev/rmt/0
To measure read performance on drive 0 using the previously-written uncompressed and compressed
files:
% iocheck -r -t 20 -b 1mb /dev/rmt/0n
% iocheck -r -t 20 -b 1mb /dev/rmt/0n
To empty the tape:
% mt -f /dev/rmt/0n rewind
% mt -f /dev/rmt/0n weof 2
HPSS Installation Guide July 2008
Release 6.2 (Revision 2.0) 125