9 More Discussions You Might Find Interesting
1. AIX
Hi,
I have taken a backup of a directory on my tape in using below command
cd /backup
find * -print|backup -ivf '/dev/rmt0' '-U' |tee -a /syslogs/backup.log and output appear in below format.
a 0 rman-before-08032014
a 58403323904... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies
2. AIX
Hi,
We are taking our filesystem backup having size of 1.3 TB on LTO5 catridges using the following command
find * -print|backup -ivf '/dev/rmt0' '-U'
i.e backup byname and it took about 6.5 Hours to complete When we are listing same tape contents using the following command
restore... (1 Reply)
Discussion started by: m_raheelahmed
1 Replies
3. Solaris
Hi all,
i would like to view the contents of Tape on Solaris 10
i issued the following command
tar -tvf /dev/rmt/0m
i'm getting the following error
bash-3.00# tar -tvf /dev/rmt/1m
tar: tape read error
by the way the reference to the command is on sun's wiki
any alternatives
Thanks in... (3 Replies)
Discussion started by: h@foorsa.biz
3 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have a HP SURESTORE 40 tape drive. Several archives are stored on it using DUMP. I have several volumes stored on the tape...
If I issue restore -rf /dev/st0 will it restore just the arhcive that the tape reader is currently on or will it restore all of them?
Thanks, (3 Replies)
Discussion started by: mojoman
3 Replies
5. UNIX for Advanced & Expert Users
I've got a backuptape in cpio format that was accidentally overwritten with a very small batch file. As I assume that the cpio header has been overwritten, I cannot extract files from the backup in the conventional manner:
( cpio -itv </dev/rct0
cpio: this is not a cpio file, bad header)
... (0 Replies)
Discussion started by: mart4179
0 Replies
6. AIX
I'm attempting to read a tape in a 4mm drive (AIX 4.3) using the following command...
tar tvf /dev/rmt0
...and I keep getting the following error message:
tar: 0511-193 An error occurred while reading from the media.
There is not enough memory available now.
I've googled this error... (2 Replies)
Discussion started by: tdpearson
2 Replies
7. AIX
Hello all,
I have just installed an HP dat72 external tape drive to an IBM 275 Intellistation (AIX 5L). It was installed as an Other SCSI Tape Drive (rmt1). I am using the Web Based System Manager at this point to do an initial backup
of a journaled file system. I am getting an error and am... (1 Reply)
Discussion started by: joeweisser
1 Replies
8. UNIX for Dummies Questions & Answers
I have been attempting to read a DLT tape, but encountered problems. I have applied patches from SUN that 'resolve' known problems with tape reading etc...but still the error!
Techsupport reckon that the data/tape is corrupt. I would like to think they aren't.
Are there any issues with... (10 Replies)
Discussion started by: colesy
10 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
I am attempting to read tar images from a DLT tape, and have recieved an error, which i don't know:
tar: blocksize = 8
tar: directory checksum error
I have been able to read from other tapes, using the same command (tar -tvf /devicename) but this time i have an... (3 Replies)
Discussion started by: colesy
3 Replies
ANSITAPE(LOCAL) ANSITAPE(LOCAL)
NAME
ansitape - ANSI standard tape handler
SYNOPSIS
ansitape [key] [keyargs] [files]
DESCRIPTION
Ansitape reads and writes magnetic tapes written in ANSI standard format (called ``Files-11'' by DEC). Tapes written by ansitape are
labeled with the first 6 characters of the machine name by default. Actions are controlled by the key argument. The key is a string of
characters containing at most one function letter. Other arguments to the command are a tape label and file names specifying which files
are to be written onto or extracted from the tape.
The function portion of the key is specified by one of the following letters:
r The named files are written at the end of the tape. The c function implies this.
x The named files are extracted from the tape. If no file argument is given, the entire contents of the tape is extracted. Note
that if the tape has duplicated file names, only the last file of a given name can be extracted.
t The names of the specified files are listed each time they occur on the tape. If no file argument is given, all files on the tape
are listed.
c Create a new tape; writing begins at the beginning of the tape instead of after the last file. This command implies r.
The following characters may be used in addition to the letter which selects the function desired.
f This argument allows the selection of a different tape device. The next word in the keyargs list is taken to be the full name of a
device to write the tape on. The default is /dev/rmt12.
n The n option allows the user to specify as the next argument in the keyargs list, a control file containing the names of files to
put on the tape. If the file name is '-', the control file will, instead, be read from standard input. The control file contains
one line for each file to be placed on the tape. Each line has two names, the name of the file on the local machine, and the name
it is to have when placed on the tape. This allows for more convenient flattening of hierarchies when placing them on tape. If
the second name is omitted, the UNIX file name will be used on the tape also. This argument can only be used with the r and c
functions.
l The l option allows the user to specify the label to be placed on the tape. The next argument in the keyargs list is taken as the
tape label, which will be space padded or truncated to six characters. This option is meaningless unless c is also specified.
v Normally ansitape works relatively silently. The v (verbose) option causes it to type information about each file as it processes
it.
b The b option allows the user to select the blocksize to be used for the tape. By default, ansitape uses the maximum block size
permitted by the ANSI standard, 2048. Some systems will permit a much large block size, and if large files are being put on the
tape it may be advantageous to do so. Ansitape will take the next argument of the keyargs list as the blocksize for the tape.
Values below 18 or above 32k will be limited to that range. The standard scale factors b=512 and k=1024 are accepted.
Ansitape will not copy directories, character or block special files, symbolic links, sockets, or binary executables. Attempts to put
these on tape will result in warnings, and they will be skipped completely.
FILES
/dev/rmt12
DIAGNOSTICS
A warning message will be generated when a record exceeds the maximum record length and the affected file will be truncated.
BUGS
Ansitape quietly truncates names longer than 17 characters.
ANSI 'f' format files can be read but not written.
Multivolume tapes can not be handled.
4/10/85 UCB Local ANSITAPE(LOCAL)