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 OPENSOLARIS
tcopy
tcopy(1) User Commands tcopy(1)
NAME
tcopy - copy a magnetic tape
SYNOPSIS
tcopy source [destination]
DESCRIPTION
The tcopy utility copies the magnetic tape mounted on the tape drive specified by the source argument. The only assumption made about the
contents of a tape is that there are two tape marks at the end.
When only a source drive is specified, tcopy scans the tape, and displays information about the sizes of records and tape files. If a des-
tination is specified, tcopy makes a copies the source tape onto the destination tape, with blocking preserved. As it copies, tcopy pro-
duces the same output as it does when only scanning a tape.
The tcopy utility requires the use of Berkeley-compatible device names. For example,
example% tcopy /dev/rmt/1b /dev/rmt/2b
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWesu |
+-----------------------------+-----------------------------+
SEE ALSO
mt(1), ioctl(2), attributes(5)
NOTES
tcopy will only run on systems supporting an associated set of ioctl(2) requests.
SunOS 5.11 10 Mar 2000 tcopy(1)