IBM Hub/Switch Switch User Manual


 
Chapter 3 System Preparation
HPSS Installation Guide September 2002 153
Release 4.5, Revision 2
% iocheck -r -t 20 -b 1mb /dev/rmt1.1
% iocheck -r -t 20 -b 1mb /dev/rmt1.1
WARNING: The contents of this tape will be overwritten so be sure to mount the correct tape
cartridge.
To unload a tape:
% tctl -f <device> rewoffl
Repeat the above steps for each tape drive.
3.5.5.2 Solaris
On each Tape Mover node, verify that each tape drive has variable-length block size set.
To manually check whether variable block size is enabled (see warning below), 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 variable-length block sizes are 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 talbes documenting the results.
To measure uncompressed write performance (see warning below) on 0 (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/0
To measure read performance on drive 0 using the previously-written uncompressed and
compressed files:
% iocheck -r -t 20 -b 1mb /dev/0n
% iocheck -r -t 20 -b 1mb /dev/0n
To empty the tape:
% mt -f /dev/0n rewind
% mt -f /dev/0n weof 2