HP LTO Ultrium 5 tape drives UNIX, Linux and OpenVMS configuration guide (March 2010)

7 Verifying the installation
Verifying the installation of the drive (UNIX)
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 the installation has been performed correctly.
In outline, the procedure is as follows:
1. Check the tape drive responds to a rewind command.
2. Write test data to a tape.
3. Read the test data from the tape.
4. 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 performing a rewind:
a. If there is a tape cartridge already in the drive, remove it.
b. Insert a tape cartridge.
c. Rewind the tape using the command line:
nl
% mt -f device file rewind
For example, on HP-UX 11i v2:
nl
% mt -f /dev/rmt/c4t3d0BESTnb
For example, on HP-UX 11i v3 (using a persistent device file):
nl
% mt -f /dev/rtape/tape0_BESTnb rewind
If the command completes successfully, there will be no feedback. If it fails, you will see an
error message on the console. There may be a reservation by another host, or a zone change,
or the hardware installation may be faulty. Check the troubleshooting section of the Users
Guide for help in identifying the problem.
UNIX, Linux and OpenVMS configuration guide 31