01-31-2009
Get files from sdlt tapes
Hi everybody,
I'm new using unix/linux and I have a sdlt tape wich has 2 segy files. I realise the tape isn't tar so when I use dd if=/dev/rmt/*bn of=filename bs=100000 to get the files after 10 Gb for file 1 an error message appear I/O error and I'm sure that I didn't get completly the first file also I'm using mt ../* rew and mt ../*n fsf no rewind to navigate through the tape. Is there any command to get the files without error message? I need your help, please.
Ps: I have a list of tape content with ebcdic header, binary header,.. like this:
FileNum: 0 RecordNum:1 Long:3200
C01
C02
C03
.
.
.
.
Lecture ok FileNum:0 RecordNum:2 Long:400
.
.
.
FileNum:0 RecordNum:3 Long:8240
.
.
.
EOF recontre FileNum 0 RecordNum 3
saut arriere de 2 blocs
Lecture ok FileNum:0 RecordNum:999999999 Long:8240
FileNum: 0 RecordNum:999999999 Long:8240
.
.
.
FileNum: 0 RecordNum:1000000000
.
.
.
EOF recontre FileNum: 0 RecordNum:1000000000
then start the same sequence for second segy file
I'll appreciate some tips
9 More Discussions You Might Find Interesting
1. HP-UX
can any1 tell me how to make ignite tapes for the HP-ux.
this company said it was: "make_tape_recovery_A", but that don't work. (4 Replies)
Discussion started by: JBX
4 Replies
2. UNIX for Dummies Questions & Answers
is there a command to check unoccupied space on a tape ?
AIX 3.2 (1 Reply)
Discussion started by: cubicle^dweller
1 Replies
3. UNIX for Dummies Questions & Answers
:confused:
Hello!!
I am a new UNIX user, and I need to back up some files, I have some old ones and I have been trying to delete the old information with 'mt erase' but I don't be sure if it works, and 'mt resert' but the it gave a message suggesting me to use 'scsiha -r' (but the last one... (1 Reply)
Discussion started by: scs
1 Replies
4. UNIX for Advanced & Expert Users
Hi,
I think this issue should be posted in a backup box, but there wasn't .
We have an issue that we made a backup on a DLT7000 tape using tar. Ones we check using : tar tvf /dev/rmt/0
It all works great on the same server.
Now ejecting the tape and putting it into server 2 with an SDLT... (0 Replies)
Discussion started by: davidg
0 Replies
5. Solaris
Hii alll
Thanks for the support, iam facing a problem regarding tanberg sdlt . iam trying to connect tanberg sdlt 160 to sun fire 880 r .As SUN FIRE DOSENT HAVE SCSI CONTROLLER IAM CONNECTING A ULTRA 2 SCSI CONTROLLER IN PCI SLOT AND FROM THERE IAM CONNECTING THE TANBERG SDLT 160.
MY FIRST... (1 Reply)
Discussion started by: solaris8in
1 Replies
6. HP-UX
Greetings
I looking for the drivers for an sdlt tape drive for hp-ux 11.0. I think the drivers i need are stape and tape2 does anyone know where i can get them
Thanks
Alan (2 Replies)
Discussion started by: Flipper_Al
2 Replies
7. HP-UX
I have a bunch of 4 mm DDS tapes that have two partitions. I read them on my HP-UX 10.20 box by referencing the device files /dev/rmt/0m (partition 0) and /dev/rmt/0mp (partition 1). Unfortunately, my HP-UX box was lightning struck last week so now I'm trying to read these tapes using Unix Services... (2 Replies)
Discussion started by: dhaverstick
2 Replies
8. Solaris
Hi Community,
I've a V440 Sun Server with 2 device tape of 72GB. I have to backup a folder of 80 GB, so I have to use 2 tapes of 72GB (144 GB);
If I use vxdump command which are the options that I have to use?
When the first tape finishes does the system stop the backup?
Please help me... (1 Reply)
Discussion started by: Sunb3
1 Replies
9. AIX
Hello, anybody out there that is using itdt to manage tape changes in a tape library. The help of itdt show a move subcommand but I can't get it to work.
Env:
AIX5.3
Dell PowerVault TL2000 tape library -> rmt1 Available 01-08-02 IBM 3580 Ultrium Tape Drive (FCP)
# itdt says it finds the... (3 Replies)
Discussion started by: petervg
3 Replies
LEARN ABOUT FREEBSD
tcopy
TCOPY(1) BSD General Commands Manual TCOPY(1)
NAME
tcopy -- copy and/or verify mag tapes
SYNOPSIS
tcopy [-cvx] [-s maxblk] [src [dest]]
DESCRIPTION
The tcopy utility is designed to copy magnetic tapes. The only assumption made about the tape layout is that there are two sequential EOF
marks at the end. By default, the tcopy utility will print information about the sizes of records and files found on the /dev/sa0 tape, or
on the tape specified by the src argument. If a destination tape is also specified by the dest argument, a copy of the source tape will be
made. The blocking on the destination tape will be identical to that used on the source tape. Copying a tape will yield the same program
output as if just printing the sizes.
The following options are available:
-c Copy src to dest and then verify that the two tapes are identical.
-s maxblk Specify a maximum block size, maxblk.
-v Given the two tapes src and dest, verify that they are identical.
-x Output all informational messages to the standard error instead of the standard output. This option is useful when dest is given
as /dev/stdout.
SEE ALSO
mt(1), mtio(4)
HISTORY
The tcopy command appeared in 4.3BSD.
BUGS
Writing an image of a tape to a file does not preserve much more than the raw data. Block size(s) and tape EOF marks are lost which would
otherwise be preserved in a tape-to-tape copy.
End of data (EOD) is determined by two sequential EOF marks with no data between them. There used to be old systems which typically wrote
three EOF's between tape files. The tcopy utility will erroneously stop copying early in this case.
When using the copy/verify option -c, tcopy does not rewind the tapes prior to start. A rewind is performed after writing, prior to the ver-
ification stage. If one does not start at the beginning-of-tape (BOT) then the comparison may not be of the intended data.
BSD
December 20, 2006 BSD