beautypg.com

Verifying the installation, Verifying the installation of the drive (unix), To verify the installation – HP Ultrium tape drives Q1538-90925 User Manual

Page 27: 7 verifying the installation, Chapter 7, 7verifying the installation

background image

HP Ultrium drives technical reference manual, volume 5: UNIX configuration guide

27

HP restricted

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:

% mt -f rewind
For example, on HP-UX:
% mt -f /dev/rmt/0mnb rewind

If the command completes successfully, there will be no feedback. If it fails, you will see an error

message on the console. The hardware installation may be faulty. Check the troubleshooting

section of the User’s Guide for help in identifying the problem.

2.

Write a sample file to tape, using ‘tar’:

% cd /

% tar c vf

The options to tar have the following meanings:

The arguments follow the cvf options in the command line. Their values depend on the

operating system; suggested values are given the appropriate operating system chapter.The

arguments are as follows:

c

Create a new archive (backup file) on the device.

v

Operate in verbose mode.

f

Specify the device file explicitly.

file>

The name of the device file for the drive.

Example: /dev/rmt/0m

The name of the file to archive, prefixed with ‘./’.

Example: ./stand/vmunix