HP Q1581A HP DDS/DAT drives UNIX, Linux and OpenVMS configuration guide (DW049 - Page 37
Verifying the installation - cartridge
UPC - 882780612716
View all HP Q1581A manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 37 highlights
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: % mt -f status For example, on Linux: % mt -f /dev/st0 status If the response in the command line is: mt /dev/st0: No such file or directory the hardware installation may be faulty. Check the troubleshooting section of the User's Guide for help in identifying the problem. If the response in the command line is: mt /dev/st0: No medium found 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. 2. Write a sample file to tape, using 'tar': % cd / % tar cvf The options to tar have the following meanings: c Create a new archive (backup file) on the device. v Operate in verbose mode. f Specify the archive name explicitly. The arguments follow the cvf options in the command line. The arguments are as follows: The name of the archive name to be created. Example: /dev/st0 The name of the file to archive, prefixed with './'. Example: ./boot/vmlinuz HP Evolution II DDS/DAT drives: UNIX, Linux and OpenVMS configuration guide 37