From nobody@FreeBSD.ORG Tue Apr 13 07:19:25 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 2CC7314D0A; Tue, 13 Apr 1999 07:19:25 -0700 (PDT)
Message-Id: <19990413141925.2CC7314D0A@hub.freebsd.org>
Date: Tue, 13 Apr 1999 07:19:25 -0700 (PDT)
From: ben@algroup.co.uk
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: Amanda on FreeBSD can wipe the _next_ tape!
X-Send-Pr-Version: www-1.0

>Number:         11112
>Category:       kern
>Synopsis:       Amanda on FreeBSD can wipe the _next_ tape!
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 13 07:20:01 PDT 1999
>Closed-Date:    Thu May 24 12:29:37 PDT 2001
>Last-Modified:  Thu May 24 12:32:55 PDT 2001
>Originator:     Ben Laurie
>Release:        2.2.8
>Organization:
Apache Group
>Environment:
FreeBSD heap.ben.algroup.co.uk 2.2.8-RELEASE FreeBSD 2.2.8-RELEASE #0: Mon Nov 30 06:34:08 GMT 1998     jkh@time.cdrom.com:/usr/src/sys/compile/GENERIC  i386

>Description:
Using an HP JetStore 2000 (i.e. fairly standard DAT) and Amanda 2.4.1p1,
if I manually eject the tape after a successful amdump run, insert a
labelled tape and run amcheck, the check fails. It fails because the
latter tape has been wiped! I suspect any command that operates on the
tape will cause the same problem.

I strongly suspect that this problem is associated with the "two filemarks"
kludge in the tape drivers.
>How-To-Repeat:
See above.
>Fix:
Using "mt offline" instead of ejecting with the button on the tapedrive
seems to avoid the problem.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: mjacob 
State-Changed-When: Sun Oct 29 10:39:02 PST 2000 
State-Changed-Why:  
Is this a problem in 3.4 and later? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=11112 
State-Changed-From-To: feedback->closed 
State-Changed-By: kris 
State-Changed-When: Thu May 24 12:29:37 PDT 2001 
State-Changed-Why:  
Feedback timeout 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=11112 
>Unformatted:
