HP DDS/DAT tape drives UNIX, Linux and OpenVMS configuration guide (DW049-90930, May 2010)

8 Verifying the installation
As part of the installation process, you will have installed the appropriate device driver for your UNIX
system, and created device files to communicate with the tape drive.
This section describes how you can verify that the installation has been performed correctly.
In outline, the procedure is as follows:
1. Write test data to a tape.
2. Read the test data from the tape.
3. Compare the data read from the tape with the original data on disk.
To verify the installation
1. Test the SCSI connection to the tape drive by sending a status request:
a. Ensure a tape cartridge installed in the drive.
b. Enter the following using the command line:
nl
% mt -f <archive name> status
For example, on Linux:
nl
% mt -f /dev/st0 status
If the response in the command line is:
nl
mt /dev/st0: No such file or directory
nl
the hardware installation may be faulty. Check the troubleshooting section of the Users
Guide for help in identifying the problem.
If the response in the command line is:
nl
mt /dev/st0: No medium found
nl
check that a tape is loaded in the drive.
If tape drive information is returned, the tape drive has been detected correctly by the
operating system.
c. Rewind the tape using the command line:
% mt -f <archive name> rewind
If you do not see the Tape light flash as the tape rewinds, the hardware installation may be
faulty. Check the troubleshooting section of the User's Guide for help in identifying the
problem.
UNIX, Linux and OpenVMS configuration guide 39