From owner-freebsd-questions Fri Feb 4 5:51:41 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mgr3.k12.mo.us (bsd.mgr3.k12.mo.us [204.184.227.140]) by builder.freebsd.org (Postfix) with ESMTP id 93A833FE5 for ; Fri, 4 Feb 2000 05:51:35 -0800 (PST) Received: from redmobile ([172.16.0.5]) by mgr3.k12.mo.us (8.9.3/8.9.2) with SMTP id HAA19098; Fri, 4 Feb 2000 07:53:10 -0600 (CST) (envelope-from rjn103s@mgr3.k12.mo.us) From: Support Reply-To: rjn103s@mgr3.k12.mo.us Organization: Mountain Grove R3 Schools To: Dan Nelson Subject: Re: mt erase command question Date: Fri, 4 Feb 2000 06:46:16 -0600 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain Cc: questions@FreeBSD.ORG References: <00020310272102.00687@redmobile> <20000203133300.B17882@dan.emsphone.com> In-Reply-To: <20000203133300.B17882@dan.emsphone.com> MIME-Version: 1.0 Message-Id: <00020406585500.01178@redmobile> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greetins, On Thu, 03 Feb 2000, Dan Nelson wrote: > In the last episode (Feb 03), Support said: > > I think that mt erase only erases the first fileSys on the tape. So > > my question is if I have 3 fileSys on the tape how do I erase all at > > once? > > The standard "mt erase" is a "long" erase, which should zero out the > entire tape. I was confused because the man page it says a count of 0 disables long erase, which in by default. So I assumed that this only cleared the 1st fileSys So, I was wanting to understand exactly what the command: mt erase {count} actually does. Please explain the count. > > > Thanks! > > > > FYI: The reason I have to do this is the tape gets block size > > confused sometimes (maybe once per month) and this is the only way I > > have found to fix the tape problem:( It happens at random on > > different boxes and tapes. I use tar for backups. FreeBSD 3.4 Any > > thoughts? > > I've never had any problems with blocksizes on my tape drives. When > you say "confused", what exactly do you mean? > Well, the system starts saying media error and I discovered the block size error when the command: mt erase did not fix the problem on the tape with multiple fileSys. I took it over to a windoz box and it reorted block size errors during an erase from it. I then discovered that if I put a count on the mt erase that it as well could correct the problem. Hence I am trying to understand the count. > > Richard Nelson > > No relation. :) > Neighbors, however through FreeBSD;) > -- > Dan Nelson > dnelson@emsphone.com -- Richard Nelson Try Something Without GPF's - - Not To Mention The Cost:) FreeBSD http://www.freebsd.org RedHat http://www.redhat.com Strong Supporter of Visual Tcl http://www.neuron.com/stewart/vtcl/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message