* Problems reading DAT tapes
@ 1997-12-09 5:00 Arno Hahma
1997-12-11 5:00 ` Dr. Strangelove
1997-12-12 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 2 replies; 4+ messages in thread
From: Arno Hahma @ 1997-12-09 5:00 UTC (permalink / raw)
I am having problems in reading DAT tapes with DU 4.0b. The system
reads the tapes just fine as long as there is no load on the system.
Whenever any significant disk activity takes place, the tape read
operation fails with I/O errors.
Is this a known problem? It looks like there were data overruns or
something like that, as if there were no buffering of the tape drive
data stream. The tapes have been written with GNU tar using 32 kilobyte
blocks, since that is the physical block size of the DAT drive. Is that
too much for Digital Unix to read?
I am unable to use gtar to read the tapes, it will fail randomly after
10 to 200 megabytes. Instead, I am forced to use dd and read the tape
into one large, single file and then use the file as input for gtar.
Not nice and it is not a failsafe option either - I had to disable
logins on the system until the tapes have been restored.
The DAT drive is HP SureStore Tape 5000, which I borrowed from another
Digital Alphastation 500. Thus, it is supported hardware.
ArNO
2
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: Problems reading DAT tapes
1997-12-09 5:00 Problems reading DAT tapes Arno Hahma
@ 1997-12-11 5:00 ` Dr. Strangelove
1997-12-11 5:00 ` Arno Hahma
1997-12-12 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 1 reply; 4+ messages in thread
From: Dr. Strangelove @ 1997-12-11 5:00 UTC (permalink / raw)
Why are you not using the tar program supplied with DU?
Digital's reccommended backup method is to use the dump (or rdump)
filesystem dump for archiving and the restore (or rrestore) for
retrieving data from the archive. I've never had any problems with
this under DU 3.2, 40.a and 4.0b with machines running heavy loads.
Dr. Strangelove
Rewrite the address with the obvious bits taken out if you want to mail me.
mailto:ivegotan%at%ombomb%dot%org%with%no%spam%please
http://www.ombomb.org/
"Put your money on 'The Bribes', they always win." - Jello Biafra
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems reading DAT tapes
1997-12-11 5:00 ` Dr. Strangelove
@ 1997-12-11 5:00 ` Arno Hahma
0 siblings, 0 replies; 4+ messages in thread
From: Arno Hahma @ 1997-12-11 5:00 UTC (permalink / raw)
In article <348fc3b7.4658171@132.147.160.254>,
Dr. Strangelove <ivegotan%at%ombomb%dot%org@spam.spam.die.net> wrote:
>Why are you not using the tar program supplied with DU?
Because the tapes have been written with another system, that was
replaced by the DU. GNU tar was used to ensure compatibility between
different systems. I also have ufsdumps from Solaris-x86 and Sparc, but
I guess they are readable only by Solaris.
>Digital's reccommended backup method is to use the dump (or rdump)
>filesystem dump for archiving and the restore (or rrestore) for
But, they can't read ufsdumps from Solaris ;(.
>retrieving data from the archive. I've never had any problems with
>this under DU 3.2, 40.a and 4.0b with machines running heavy loads.
That's good to know! In fact, it pointed me to start looking for
hardware problems, which I really did find. It turned out one of the
SCSI-channels resets itself under load and that of course, causes
problems. The tape drive does not like SCSI resets, it stops reading
the tape, when it receives one.
BTW, is there a way to adjust the SCSI transport rate for each target
ID under DU? How about synchronous/asynchronous negotiation?
>Dr. Strangelove
ArNO
2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Problems reading DAT tapes
1997-12-09 5:00 Problems reading DAT tapes Arno Hahma
1997-12-11 5:00 ` Dr. Strangelove
@ 1997-12-12 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1997-12-12 5:00 UTC (permalink / raw)
In article <66k2j4$17o@antares.utu.fi>, arno@antares.utu.fi (Arno Hahma) writes:
>Is this a known problem? It looks like there were data overruns or
>something like that, as if there were no buffering of the tape drive
>data stream. The tapes have been written with GNU tar using 32 kilobyte
>blocks, since that is the physical block size of the DAT drive. Is that
>too much for Digital Unix to read?
For direct connect SCSI Digital UNIX can transfer up to the SCSI
maximum of 16,777,215 bytes if the device and adapter can handle
it. I'll assume that you looked closely at the error log entries
to see that it was a data over-run problem. While it could be
a driver problem it is probably a device problem that you should
take up with the vendor of the drive.
>
>I am unable to use gtar to read the tapes, it will fail randomly after
>10 to 200 megabytes. Instead, I am forced to use dd and read the tape
>into one large, single file and then use the file as input for gtar.
>Not nice and it is not a failsafe option either - I had to disable
>logins on the system until the tapes have been restored.
You could avoid the large file step by using:
dd if=tape-drive "block size options" | gtar "extraction-options"f -
I'm assuming that gtar understands the 'f' option and - as stdin
like most other such programs.
But, if its a device problem you should have no matter what the
reader is. If not, then it suggests a problem with the reader.
I can imagine tape programs reading some maximum transfer size
and not resizing once it knows the record size. Doing that enough
may confuse the device.
>The DAT drive is HP SureStore Tape 5000, which I borrowed from another
>Digital Alphastation 500. Thus, it is supported hardware.
Say again? I don't see it listed in the SCSI Device Support
Table of the V4.0B SPD. It also isn't listed in the Alpha-
Station Options section of the System and Options Catalog.
However, the two DAT drives that are listed are given as
PBXTL-D{A,B} so its hard to tell precisely what they are.
Probably TLZ09s. The SCSI Inquiry data would tell for sure.
>
>ArNO
> 2
>
--
Alan Rollow alan@nabeth.cxo.dec.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-12-12 5:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-12-09 5:00 Problems reading DAT tapes Arno Hahma
1997-12-11 5:00 ` Dr. Strangelove
1997-12-11 5:00 ` Arno Hahma
1997-12-12 5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox