HP C7401A - SureStore Ultrium 230 Tape Drive Technical Reference Manual page 32

Generation 1 scsi drives volume 5: unix configuration guide
Hide thumbs Also See for C7401A - SureStore Ultrium 230 Tape Drive:
Table of Contents

Advertisement

32
Verifying the Installation
Write a sample file to tape, using '
4
% cd /
% tar cvf <device file> <file>
The options to
tar
Create a new archive (backup file) on the device.
c
Operate in verbose mode.
v
Specify the device file explicitly.
f
The arguments follow the
depend on the operating system; suggested values are given the
appropriate operating system chapter.The arguments are as follows:
<device file>
<file>
Note
Make sure you prefix the file name with '
to tape. If you do not, the restore operation in step 3 will
overwrite the original copy on disk.
5
Read the file back from tape:
% cd /tmp
% tar xvf <device file>
The '
' option to
x
tar
Use the same value for the
Compare the original with this retrieved file:
6
% 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>
<retrieved file>
':
tar
have the following meanings:
options in the command line. Their values
cvf
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
here means "extract from the archive".
<device file
The name of the original file, prefixed with '
Example:
/stand/vmunix
The name of the file retrieved from the archive.
Example:
stand/vmunix
./
' when you back it up
.
> argument as in step 2.
'.
'.
/

Advertisement

Table of Contents
loading

Table of Contents