05-24-2007
I am not an expert but I read 4mm tapes alot. The command I use to read them is
tar -tvf /dev/rmt/0n
Hope this helps.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Thanks for checking in.
We have this script that does a backup called Ignite on HP-UX
in this script it does everything it supposed to do accept one thing
Script
#########################################
echo
clear
cd /
echo " Please ensure there is a DLT tape in Slot 6 of the Tape... (2 Replies)
Discussion started by: nemex
2 Replies
2. 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
3. AIX
I am experimenting with one of my TSM processes, and I am trying to write something to a 4mm tape.
I tried to use the tctl command, but, I was unsuccessful.
what AiX command can I run in order to see if my output is on the tape ?
Thank You ! (0 Replies)
Discussion started by: DATDANGGADUDE
0 Replies
4. SCO
I replaced a HP Superstore Dat 40 with another HP Superstore Dat 40, but my backupedge software keeps putting up error code 1 (device not found) I have tried reinstaling the drive as DAT Alad stp 0 6 0 0. I'm not a computer expert but willing to have a go. I went into Backupedge to try and format a... (2 Replies)
Discussion started by: James Zwecker
2 Replies
5. AIX
Dear all,
I have ultriam3 tape. It is connected my LPAR. I have that the Sl.Nos. and slot number. but run the cfmgr i am not getting the tape drive.
I have fired the command lsdev -Cc tape but no reply.
how will i configure the tape in LPAR?
Please suggest. It is very urgent. (3 Replies)
Discussion started by: pernasivam
3 Replies
6. Solaris
Hi all,
I have solaris 10 sparc running and working very well
but i have problem with external SCSI tape drive DAT 72 problem
it seems to me the tape drive is manufactured by SUN microsystems
when i ran ls -l /dev/rmt/0
it reveals the following output
bash-3.00# mt -f /dev/rmt/0... (2 Replies)
Discussion started by: h@foorsa.biz
2 Replies
7. HP-UX
Hello All,
I have HP Openview storage data protector version 5.5. When I am going to write my backup I have an error message saying "Connot Open Device /dev/rmt/0mn"
Follownig is my output:
# ls -l /dev/rmt/0mn
crw-rw-rw- 2 bin bin 205 0x080140 Jan 17 16:41 /dev/rmt/0mn
# uname -a... (2 Replies)
Discussion started by: hellozishan
2 Replies
8. AIX
Hi,
I'm at AIX 5.3.
My EOD program is giving following error while writing to tape:
Can't write output
cpio: Media Surface error
Failed on Shell-script
cd /; cpio -ocB 2 >> /autoline/misc/logs/bk.CopyToTape < /autoline/work/BACKUP.01022 1>/dev/rm0
I have tried with several new tapes,... (2 Replies)
Discussion started by: tayyabq8
2 Replies
9. Hardware
I've had a scsi hard drive, scsi tape drive, and cd rom working off an adaptec 29160 controller. Everything worked great until a few days ago. I begin getting tar format errors (running sco 5.0.6) on the tape drive and occasionally the entire system would hang up while trying to access data on... (0 Replies)
Discussion started by: powwm
0 Replies
10. AIX
Hi,
The problem I have is I want to restore my AIX machine. I have created a mksysb tape from my tape drive rmt0 and I changed the bootlist using this command "bootlist -m normal rmt0 hdisk0".
However, when I display the bootlist "bootlist -om normal", it shows '-' hdisk0. I googled and... (2 Replies)
Discussion started by: AixNoob87
2 Replies
TAR(1) General Commands Manual TAR(1)
NAME
tar - tape archiver
SYNOPSIS
tar [ key ] [ name ... ]
DESCRIPTION
Tar saves and restores files on magtape. Its actions are controlled by the key argument. The key is a string of characters containing at
most one function letter and possibly one or more function modifiers. Other arguments to the command are file or directory names specify-
ing which files are to be dumped or restored. In all cases, appearance of a directory name refers to the files and (recursively) subdirec-
tories of that directory.
The function portion of the key is specified by one of the following letters:
r The named files are written on the end of the tape. The c function implies this.
x The named files are extracted from the tape. If the named file matches a directory whose contents had been written onto the tape,
this directory is (recursively) extracted. The owner, modification time, and mode are restored (if possible). If no file argument
is given, the entire content of the tape is extracted. Note that if multiple entries specifying the same file are on the tape, the
last one overwrites all earlier.
t The names of the specified files are listed each time they occur on the tape. If no file argument is given, all of the names on
the tape are listed.
u The named files are added to the tape if either they are not already there or have been modified since last put on the tape.
c Create a new tape; writing begins on 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.
0,...,7 This modifier selects the drive on which the tape is mounted. The default is 1.
v Normally tar does its work silently. The v (verbose) option causes it to type the name of each file it treats preceded by the
function letter. With the t function, v gives more information about the tape entries than just the name.
w causes tar to print the action to be taken followed by file name, then wait for user confirmation. If a word beginning with `y'
is given, the action is performed. Any other input means don't do it.
f causes tar to use the next argument as the name of the archive instead of /dev/mt?. If the name of the file is `-', tar writes
to standard output or reads from standard input, whichever is appropriate. Thus, tar can be used as the head or tail of a filter
chain Tar can also be used to move hierarchies with the command
cd fromdir; tar cf - . | (cd todir; tar xf -)
b causes tar to use the next argument as the blocking factor for tape records. The default is 1, the maximum is 20. This option
should only be used with raw magnetic tape archives (See f above). The block size is determined automatically when reading tapes
(key letters `x' and `t').
l tells tar to complain if it cannot resolve all of the links to the files dumped. If this is not specified, no error messages are
printed.
m tells tar to not restore the modification times. The mod time will be the time of extraction.
FILES
/dev/mt?
/tmp/tar*
DIAGNOSTICS
Complaints about bad key characters and tape read/write errors.
Complaints if enough memory is not available to hold the link tables.
BUGS
There is no way to ask for the n-th occurrence of a file.
Tape errors are handled ungracefully.
The u option can be slow.
The b option should not be used with archives that are going to be updated. The current magtape driver cannot backspace raw magtape. If
the archive is on a disk file the b option should not be used at all, as updating an archive stored in this manner can destroy it.
The current limit on file name length is 100 characters.
TAR(1)