From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jenny Butler Newsgroups: gmane.os.tru64.managers Subject: Fw: Erasing DLT Tapes Date: Tue, 07 May 2002 12:49:06 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <00f801c1f5ef$7c1a93f0$bf01c084@utmem.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1020793816 32560 127.0.0.1 (7 May 2002 17:50:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 May 2002 17:50:16 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17596N-0008So-00 for ; Tue, 07 May 2002 19:50:15 +0200 Original-Received: (qmail 2864 invoked by uid 5); 7 May 2002 17:50:17 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 2856 invoked from network); 7 May 2002 17:50:17 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (134.167.3.119) by 0 with SMTP; 7 May 2002 17:50:17 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GVR003DE5JSLM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 13:50:17 -0400 (EDT) Original-Received: from frank.utmem.edu (frank.utmem.edu [132.192.13.124]) by emroute1.cind.ornl.gov (PMDF V6.1 #39060) with ESMTP id <0GVR00AI15JLUM@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Tue, 07 May 2002 13:50:10 -0400 (EDT) Original-Received: from CONVERSION-DAEMON.tru1.utmem.edu by tru1.utmem.edu (PMDF V6.1 #39553) id <0GVR0TZ015JLOK@tru1.utmem.edu> for tru64-unix-managers@ornl.gov; Tue, 07 May 2002 12:50:09 -0500 (CDT) Original-Received: from jennypc ([132.192.1.191]) by tru1.utmem.edu (PMDF V6.1 #39553) with SMTP id <0GVR0TZHD5JLE4@tru1.utmem.edu> for tru64-unix-managers@ornl.gov; Tue, 07 May 2002 12:50:09 -0500 (CDT) Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-Priority: 3 X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:78 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:78 Thanks to list members for the quick responses. I heard from Alan (@nabeth...), Steve Feehan, Bob Bumpus, and Lucien Hercaud (who even supplied a command line) - all indicating that using the dd utility and /dev/zero as the input should work. The command line I used was dd -if=/dev/zero -of=/dev/ntape/tape0_d0 bs=64k with the 64k from Lucien's suggestion. I put in one of the DLT3 tapes in the TZ877 and timed the process. It took approximately 2 hours to run the length of the tape (83,000+ blocks per the mt rdpos command) and appears to have done basically what I was doing with the VMS INIT/ERASE command. As several commented, that is not an efficient method for mass initialization of tapes. I had a hardware problem on my TZ877 compounded by either an occasional bad tape (bad spot on a tape) and potentially the tape drive messing up a tape. This effort was for testing my tape drive as well as learning how. Thanks again for the help! Jenny ----- Original Message ----- From: "Jenny Butler" To: Sent: Monday, May 06, 2002 3:32 PM Subject: Erasing DLT Tapes > Using Tru64 Unix v5.1 I have a TZ877 tape unit attached to my ES40 via scsi > cable/card. I have tried several things to erase and test a scratch tape that I > suspect might be bad. I tried various tapex tests and cannot verify that I have > tested the entire tape. I tried the scu mt erase command and it ran for about > 5-6 hours when I finally killed it. I tried the scu mt retension command and > it finished in about .08 seconds - not long enough for the tape to wind from > one end to the other. > On VMS, I could use INITIALIZE/ERASE on the same tapes and this writes > binary zeroes to the entire tape - for this DLT III tape it ran 2 hrs, 15 > minutes per tape. > Short of writing a program or script to write binary zeroes to a tape, has anyone > found the right command and qualifiers to test an entire tape and know that > you got the whole thing? > Thanks, Jenny Butler > jbutler@utmem.edu >