HP A3716A DDS-3 Autoloader User's Manual - 3716-96001

Installing Your Autoloader
Configuring Software on Series 800 HP-PB (NIO) Systems Running HP-UX 9.04
2-19
Verifying the Configuration
Changer Mechanism Verification
1 Compile the scsi_io test program:
cc /etc/contrib/bin/scsi_io.c -o /etc/contrib/bin/scsi_io
2 Run the scsi_io test program:
/etc/contrib/bin/scsi_io /dev/scsi/C1557A00
3 You should expect to see the following displayed:
The thing claims to be: HP C1557A UL00 58
Drive Mechanism Verification
1 Place a cartridge in a magazine, insert the magazine into the autoloader and
load the cartridge into the drive mechanism using the front panel controls (see
Loading a Magazine and Cartridges on page 3-5).
2 Test the tape drive by writing a file to tape and then reading it back again as
follows:
a Create a dummy file:
cp /hp-ux foo
b
Use the dd command to write to the tape:
c Use the dd command to read the file back:
dd if=foo of=/dev/rmt/1h bs=64k
bs=64k
” sets the block size
to 64 kilobytes. This yields
much better performance
than the default of 512 bytes.
This device file came from
the previous ioscan output,
which shows all of the device
files for the tape drive.
rm foo
dd if=/dev/rmt/1h of=foo bs=64k
You
must
use the same
block size when reading
the file back.