HP Ultrium Tape Drive Verifying the Installation of the Drive Unix, For example, on HP-UX

Page 31

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 that 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 doing a rewind operation:

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 <device file> 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 cvf <device file> <file>

The options to tar have the following meanings:

cCreate a new archive (backup file) on the device. v Operate in verbose mode.

Verifying the Installation

Verifying the Installation of the Drive (UNIX) 31

Image 31
Contents Generation 3 drives Version Date Changes Contents Verifying the Installation Documentation map Purpose of this manualRelated documents Documents specific to HP Ultrium drivesDrives-general Interface General documents and standardization How error correction worksIrvine, CA Tel 800 854 7179 or 714 261Page Introduction Backup ApplicationsIntroduction Ultrium Drives in a LibraryHP-UX AIX HP-UX Systems HP-UX SystemsHP Servers and Workstations-HP-UX Introduction Determining the Scsi IDFor an HP Ultrium drive, execute the following Creating the Device FilesSelect the following Where When you have exited sam, run ioscan to see the tape driveRun insf as follows To create a device file with the following characteristicsWhat Next? For compressed mode defaultHardware path can be found from previous ioscan output HP-UX Systems Add the following entry to your /dev/ddr.dbase file HP Alpha UnixHP Alpha Unix HP Alpha UnixWhat Next? Determining the Scsi ID Configuring the Device FilesThis will produce output that looks similar to Device Filenames under AIX Linux Configuring on Linux SystemsLinux Determining the Scsi ID LinuxThis should find a number of lines. One should look like Where /dev/stp is the device file Using the Seek and Tell Features of mtLinux This produces a list similar to Sun Systems, Solaris 8, 9Sun Systems, Solaris 8, 9 This will produce output similar to the followingLs -l /dev/rmt/*m grep st@X Determine the device file by typingWhen the system is down, reboot Do a reconfigure bootHP-Data Values Specifies the Scsi ID target of the device Values for the parameters for name are as followsSpecifies the LUN for the device Verifying the Installation Verifying the InstallationVerifying the Installation of the Drive Unix To verify the installationRead the file back from tape File The name of the file to archive, prefixed with ‘./’Change to the temporary directory Compare the original with the restored versionExtract the file from the tape Verifying the Installation Glossary GlossaryPoint-to-point connection between itself and the fabric Response to a filemark commandFibre Channel switching technology Features required by that standardGlossary Glossary Index IndexAIX Index