* TLZ06 driving me crazy
@ 1994-04-15 11:05 HOFFMAN1
1994-04-16 0:39 ` Charles R. Wright
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: HOFFMAN1 @ 1994-04-15 11:05 UTC (permalink / raw)
Hi everybody,
I wonder if somebody can give me some hints on the following problem:
System: DEC 3000/300, 32MB RAM, OSF/1 1.3A (Rev. 111)
RZ26 and RX26 mounted inside system unit
RRD42 and TLZ06 (DEC 0347) mounted in BA353-AX expansion box
Problem:
whenever saving data (for example about 25 MB) to tape the following
behaviour of the tapedrive can be observed:
tar cvf /dev/nrmt0h ./foo (70 to 75 seconds depending on system load)
tar cvf /dev/nrmt0h ./foo (about the same time - as expected)
BUT NOW:
mt rewind (or mt offline)
mt -f /dev/nrmt0h fsf 1
tar cvf /dev/nrmt0h ./foo (takes about 17 minutes |||||||)
This behaviour is true for tar, cpio and dd. Fiddling with blocksizes didn't
change much. And no, there is no single error reported by uerf. The only
noticeable difference between consecutive writes and writes after
rewinding/unloading and repositioning the tape by fsf is the noise of the
drive. Consecutive writes cause a smooth noise of tape operation. After
rewinding/unloading the tape and repositioning it sounds like the tape
is running forward for about one second, then rewinding a bit and then
again running forward and rewinding and so on.
Questions: - is it my misinterpretation of the mt fsf command
(by the way: adding an eof-mark after the first archive
didn't change things either)
- is is a known problem with the TLZ06 firmware and/or
CAM-driver
Many thanks,
--
Gerhard HOFFMANN email: HOFFMAN1@VM.AKH-Wien.AC.AT
Disclaimer: The opinions expressed above are my own. But be careful - they
propably have changed before you've read them.
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: TLZ06 driving me crazy 1994-04-15 11:05 TLZ06 driving me crazy HOFFMAN1 @ 1994-04-16 0:39 ` Charles R. Wright 1994-04-18 7:51 ` Marcel Bernards 1994-04-18 19:46 ` Carl J Appellof 1994-04-20 9:21 ` Anthony Baxter 2 siblings, 1 reply; 7+ messages in thread From: Charles R. Wright @ 1994-04-16 0:39 UTC (permalink / raw) HOFFMAN1@VM.AKH-Wien.AC.AT wrote: : Hi everybody, : I wonder if somebody can give me some hints on the following problem: : System: DEC 3000/300, 32MB RAM, OSF/1 1.3A (Rev. 111) : RZ26 and RX26 mounted inside system unit : RRD42 and TLZ06 (DEC 0347) mounted in BA353-AX expansion box : Problem: : whenever saving data (for example about 25 MB) to tape the following : behaviour of the tapedrive can be observed: : : tar cvf /dev/nrmt0h ./foo (70 to 75 seconds depending on system load) : tar cvf /dev/nrmt0h ./foo (about the same time - as expected) : : BUT NOW: : mt rewind (or mt offline) : mt -f /dev/nrmt0h fsf 1 : tar cvf /dev/nrmt0h ./foo (takes about 17 minutes |||||||) (deleted) : -- : Gerhard HOFFMANN email: HOFFMAN1@VM.AKH-Wien.AC.AT : Disclaimer: The opinions expressed above are my own. But be careful - they : propably have changed before you've read them. Hello, I am having similar problems with this same tape drive. Here is an exerpt from an article I posted locally hoping for an answer: ------ BEGIN INCLUDED TEXT ------------ Subject: TLZ06-DA DAT drive quiz Date: 31 Mar 1994 19:07:37 GMT Organization: Worcester Polytechnic Institute HelloBased on recent experience with the aforementioned tape drive, I'd like to verify some facts or assumptions. The drive I'm using the most is hooked to an Alpha with OSF 1.3 on it. 1) Using /dev/rmt0a means that COMPACTION WILL NOT BE USED when writing to the tape. Source: "man tz" on OSF 2) Using /dev/rmt0h means that, REGARDLESS of whether the input files are compressed, COMPACTION IS TURNED ON. (Source: "man tz" again, emphasis mine) 3) Using "tar cf /dev/rmt0h" with files that are already compressed (ie, with gzip or compress, or a compressed image format like GIF or JPEG) will cause the archive to use MORE tape than if the files were not compressed. Source: experience! I tried to archive 300 meg of compressed stuff and I could only get 200 meg or so onto a single tape. Since these tapes are 90 meters and are supposed to hold about 2 gigabytes, something was wrong. When I tried again using "dd of=/dev/rmt0a", all was fine. 4) The TLZ06 can do mixed uncompacted/compacted archives on the same tape! Thus, if you archive files with /dev/rmt0a, and then later append to that archive with /dev/rmt0h, the tape drive obliges, subjecting you to the same pitfall in (3). Source: experience again ----------------- END INCLUDED TEXT --------------- Additional comments: 1) I can use "dd" to start an archive, but I like using "tar rf" to APPEND to the archive because I don't like dealing with multiple archives on the same tape. Unfortunately, I don't know of a way to use "dd" to append to an existing archive. But when I use "tar rf", I run out of tape. 2) These tape operations take a LONG TIME! Here's one thing I tried: a) Create a new tape archive: "tar cf /dev/rmt0a" (tape at beginning) I put about 200 meg on it, no problem. b) Append another meg with "tar rf /dev/rmt0a". It reached the end of the media overnight; next morning I finished it off with a new tape. STILL did not get 1.9 gigabytes onto a single tape. It took 8 hours to get a "tar tvf" of the tape! 3) It seems to take a super long time only after the second operation. If I make a new archive: "tar cf /dev/rmt0a", I can get a listing with "tar tvf" in a normal (for tapes) amount of time. After appending to the archive, it takes forever. Anyway, those are some of my trials and tribulations. Anyone else having these weird problems? Perhaps not! Please clue us in to the secrets. Thanks, Charles Wright Research Assistant; IBM RS-6000 de-facto system manager cwright@ee.wpi.edu Machine Vision Lab, ECE Dept. Worcester Polytechnic PGP2.3 key avail. Institute, Worcester, Massachusetts, USA 01609 "To have so many windows on my screen, I lose consciouness" ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TLZ06 driving me crazy 1994-04-16 0:39 ` Charles R. Wright @ 1994-04-18 7:51 ` Marcel Bernards 0 siblings, 0 replies; 7+ messages in thread From: Marcel Bernards @ 1994-04-18 7:51 UTC (permalink / raw) I had the same problems on a 1.3 OSF/1 system and NOT on the 1.2 machines. Dumps turned out to take 5 times longer than before. Turned out to be a SCSI CAM driver fix in /sys/BINARY/cam_tape.o We got a patch from DEC. -- Marcel Bernards, UNIX & Net sysadm ECN - Netherlands Energy Research Foundation Facilities Dept. - Group Computer & Network Management: E-Mail: Bernards@ECN.NL SnailMail: P.O. Box 1, 1755 ZG Petten Phone: (+31 /0)2246 4579 Fax: (+31 /0)2246 1864 SCREAMNet : AAAAAARGHH!HUH?? : Disclaimer: "The AntiChrist is the Computer !" ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TLZ06 driving me crazy 1994-04-15 11:05 TLZ06 driving me crazy HOFFMAN1 1994-04-16 0:39 ` Charles R. Wright @ 1994-04-18 19:46 ` Carl J Appellof 1994-04-20 15:37 ` Charles R. Wright 1994-04-20 9:21 ` Anthony Baxter 2 siblings, 1 reply; 7+ messages in thread From: Carl J Appellof @ 1994-04-18 19:46 UTC (permalink / raw) In article <16F999BE8S86.HOFFMAN1@VM.AKH-Wien.AC.AT> HOFFMAN1@VM.AKH-Wien.AC.AT writes: >I wonder if somebody can give me some hints on the following problem: >System: DEC 3000/300, 32MB RAM, OSF/1 1.3A (Rev. 111) > RZ26 and RX26 mounted inside system unit > RRD42 and TLZ06 (DEC 0347) mounted in BA353-AX expansion box >Problem: >whenever saving data (for example about 25 MB) to tape the following >behaviour of the tapedrive can be observed: > ... >BUT NOW: >mt rewind (or mt offline) >mt -f /dev/nrmt0h fsf 1 >tar cvf /dev/nrmt0h ./foo (takes about 17 minutes |||||||) > It's a bug in cam_tape.o, the SCSI tape driver. If any non-write operation is done at BOT, it turns off the "buffered I/O" bit in the tape controller, resulting in non-streaming writes (VERY slow!). Get a patched cam_tape.o from your Digital support channels. -- Carl J. Appellof (cja@chmist.zso.dec.com) Storage Management Group POLYCENTER NetWorker Save and Restore Digital Equipment Corporation ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TLZ06 driving me crazy 1994-04-18 19:46 ` Carl J Appellof @ 1994-04-20 15:37 ` Charles R. Wright 1994-04-21 15:55 ` Carl J Appellof 0 siblings, 1 reply; 7+ messages in thread From: Charles R. Wright @ 1994-04-20 15:37 UTC (permalink / raw) Carl J Appellof (cja@chmist.zso.dec.com) wrote: : It's a bug in cam_tape.o, the SCSI tape driver. If any non-write : operation is done at BOT, it turns off the "buffered I/O" bit in the : tape controller, resulting in non-streaming writes (VERY slow!). : Get a patched cam_tape.o from your Digital support channels. : -- : Carl J. Appellof (cja@chmist.zso.dec.com) : Storage Management Group : POLYCENTER NetWorker Save and Restore : Digital Equipment Corporation Is it fixed in OSF 2.0? The release notes say that 2.0 has unspecified bug fixes for the SCSI CAM driver. Would be nice if it were in there. Charles Wright ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TLZ06 driving me crazy 1994-04-20 15:37 ` Charles R. Wright @ 1994-04-21 15:55 ` Carl J Appellof 0 siblings, 0 replies; 7+ messages in thread From: Carl J Appellof @ 1994-04-21 15:55 UTC (permalink / raw) In article <2p3i8k$gfh@bigboote.WPI.EDU> cwright@bigboote.wpi.edu (Charles R. Wright) writes: In regard to slow tape write performance in OSF/1 V1.3 >Is it fixed in OSF 2.0? The release notes say that 2.0 has >unspecified bug fixes for the SCSI CAM driver. Would be nice if it >were in there. > >Charles Wright Yes, the fix is in DEC OSF/1 2.0. I just installed 2.0 on my workstation, and SCSI tapes are written at full speed. -- Carl J. Appellof (cja@chmist.zso.dec.com) Storage Management Group POLYCENTER NetWorker Save and Restore Digital Equipment Corporation ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: TLZ06 driving me crazy 1994-04-15 11:05 TLZ06 driving me crazy HOFFMAN1 1994-04-16 0:39 ` Charles R. Wright 1994-04-18 19:46 ` Carl J Appellof @ 1994-04-20 9:21 ` Anthony Baxter 2 siblings, 0 replies; 7+ messages in thread From: Anthony Baxter @ 1994-04-20 9:21 UTC (permalink / raw) HOFFMAN1@VM.AKH-Wien.AC.AT writes: >System: DEC 3000/300, 32MB RAM, OSF/1 1.3A (Rev. 111) >tar cvf /dev/nrmt0h ./foo (70 to 75 seconds depending on system load) >tar cvf /dev/nrmt0h ./foo (about the same time - as expected) >mt rewind (or mt offline) >mt -f /dev/nrmt0h fsf 1 >tar cvf /dev/nrmt0h ./foo (takes about 17 minutes |||||||) There's a patch available for this from DEC. Ask for the patched 'cam_tape.o'. Anthony -- anthony baxter @ /\/\|| |= Sarah McLachlan mailing =| australian artificial email: anthony@aaii.oz.au |= list: mail fte-request@ =| intelligence institute phone: +613 663 7922 |= yoyo.cc.monash.edu.au. =| level 6, 171 latrobe st Practice random kindness and senseless acts of sarcasm| melbourne aust. 3000 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1994-04-21 15:55 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1994-04-15 11:05 TLZ06 driving me crazy HOFFMAN1 1994-04-16 0:39 ` Charles R. Wright 1994-04-18 7:51 ` Marcel Bernards 1994-04-18 19:46 ` Carl J Appellof 1994-04-20 15:37 ` Charles R. Wright 1994-04-21 15:55 ` Carl J Appellof 1994-04-20 9:21 ` Anthony Baxter
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox