From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e98e66ca0b179181 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Problems reading DAT tapes Date: 1997/12/12 Message-ID: <66q5tj$bun@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 297426617 References: <66k2j4$17o@antares.utu.fi> Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world Organization: Digital Equipment Corporation Newsgroups: comp.unix.osf.osf1 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