Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Feb 2000 13:36:30 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Support <rjn103s@mgr3.k12.mo.us>
Cc:        questions@FreeBSD.ORG
Subject:   Re: mt erase command question
Message-ID:  <20000204133630.A18195@dan.emsphone.com>
In-Reply-To: <00020406585500.01178@redmobile>; from "Support" on Fri Feb  4 06:46:16 GMT 2000
References:  <00020310272102.00687@redmobile> <20000203133300.B17882@dan.emsphone.com> <00020406585500.01178@redmobile>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 04), Support said:
> 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.

All of the "mt" commands that take a "count" argument, the default is
1, so "mt erase" means "mt erase 1", which is a long erase.  "mt erase
0" explicitly asks for a short erase.

> 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.

"mt erase" shouldn't report blocksize errors at all.  Can you paste in
the exact text?

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000204133630.A18195>