HP Ultrium Tape Drive manual File The name of the file to archive, prefixed with ‘./’

Page 32

fSpecify the device file explicitly.

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:

<device file> The name of the device file for the drive.

Example: /dev/rmt/0m

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

Example: ./stand/vmunix

NOTE: Make sure you prefix the file name with ‘.’ when you back it up to tape. If you do not, the restore operation in step 3 will overwrite the original copy on disk.

3.Read the file back from tape:

%cd /tmp

%tar xvf <device file>

The ‘x’ option to tar here means “extract from the archive”.

Use the same value for the <device file> argument as in step 2.

4.Compare the original with this retrieved file:

% cmp <original file> /tmp/<retrieved file>

This step compares the retrieved file and the original file byte by byte. If they are the same, there should be no output, and this verifies that the installation is correct. The arguments are as follows:

<original file> The name of the original file, prefixed with ‘/’.

Example: /stand/vmunix

<retrieved file> The name of the file retrieved from the archive.

Example: stand/vmunix

Example:

Suppose you are verifying the installation of an HP Ultrium tape drive on an HP-UX 11.X system. The procedure would be as follows.:

1.Change directory to root:

%cd /

2.Back up /stand/vmunix to tape:

%tar cvf /dev/rmt/0m ./stand/vmunix

Note the prefix of ‘.’ to the filename.

32 Verifying the Installation

Image 32
Contents Generation 3 drives Version Date Changes Contents Verifying the Installation Purpose of this manual Related documentsDocuments specific to HP Ultrium drives Documentation mapDrives-general Interface How error correction works General documents and standardizationTel 800 854 7179 or 714 261 Irvine, CAPage Backup Applications IntroductionUltrium Drives in a Library IntroductionHP-UX AIX HP-UX Systems HP Servers and Workstations-HP-UXIntroduction Determining the Scsi ID HP-UX SystemsSelect the following Creating the Device FilesFor an HP Ultrium drive, execute the following When you have exited sam, run ioscan to see the tape drive WhereTo create a device file with the following characteristics Run insf as followsHardware path can be found from previous ioscan output For compressed mode defaultWhat Next? HP-UX Systems HP Alpha Unix HP Alpha UnixHP Alpha Unix Add the following entry to your /dev/ddr.dbase fileWhat Next? This will produce output that looks similar to Configuring the Device FilesDetermining the Scsi ID Device Filenames under AIX Configuring on Linux Systems LinuxDetermining the Scsi ID Linux LinuxThis should find a number of lines. One should look like Using the Seek and Tell Features of mt Where /dev/stp is the device fileLinux Sun Systems, Solaris 8, 9 Sun Systems, Solaris 8, 9This will produce output similar to the following This produces a list similar toDetermine the device file by typing Ls -l /dev/rmt/*m grep st@X HP-Data Values Do a reconfigure boot When the system is down, reboot Specifies the LUN for the device Values for the parameters for name are as followsSpecifies the Scsi ID target of the device Verifying the Installation Verifying the Installation of the Drive UnixTo verify the installation Verifying the InstallationFile The name of the file to archive, prefixed with ‘./’ Read the file back from tapeExtract the file from the tape Compare the original with the restored versionChange to the temporary directory Verifying the Installation Glossary GlossaryResponse to a filemark command Fibre Channel switching technologyFeatures required by that standard Point-to-point connection between itself and the fabricGlossary Glossary AIX IndexIndex Index