From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,410ba3b956d78053,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-04-16 13:37:44 PST Path: gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!udel!MathWorks.Com!bigboote.WPI.EDU!cwright From: cwright@bigboote.wpi.edu (Charles R. Wright) Newsgroups: comp.unix.osf.osf1 Subject: Re: TLZ06 driving me crazy Date: 16 Apr 1994 00:39:38 GMT Organization: Worcester Polytechnic Institute Message-ID: <2onc4a$t6b@bigboote.WPI.EDU> References: <16F999BE8S86.HOFFMAN1@VM.AKH-Wien.AC.AT> NNTP-Posting-Host: tensor3.wpi.edu X-Newsreader: TIN [version 1.2 PL2] 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"