Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2002 21:08:06 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Doug Silver <dsilver@quantified.com>
Cc:        stable@FreeBSD.ORG
Subject:   Re: SCSI tape error using Amanda/dump
Message-ID:  <20020401210806.A59384@panzer.kdm.org>
In-Reply-To: <Pine.LNX.4.21.0204011720230.14106-100000@danzig.sd.quantified.net>; from dsilver@quantified.com on Mon, Apr 01, 2002 at 05:32:24PM -0800
References:  <Pine.LNX.4.21.0204011720230.14106-100000@danzig.sd.quantified.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 01, 2002 at 17:32:24 -0800, Doug Silver wrote:
> I just changed my longtime Amanda server from BSDI to FBSD 4.4-Stable and
> I'm not sure if I'm using the correct tape device.
> 
> Here's what dmesg shows:
> sa0 at ahc0 bus 0 target 6 lun 0
> sa0: <SEAGATE DAT    06240-XXX 8071> Removable Sequential Access SCSI-3 device 
> sa0: 80.000MB/s transfers (40.000MHz, offset 32, 16bit)
> 
> So for the non-rewinding tape device I put in /dev/nsa0, which seems to
> make sense after reading the mt and sa man pages (I know, I shouldn't be
> RTFM'ing before hand, but oh well ;).
> 
> So, when I try to access the drive by running amflush I get this kernel
> message:
> 
> (sa0:ahc0:0:6:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM
> command to clear this state.

Not sure what is going on there.  If there is more information in the
dmesg, that might help diagnose things.

> so I run 'mt -f /dev/nsa0 rewind' and things appear to be okay, but I
> still get that error.  Also tried this:
> 
> # dump 0f /dev/nsa0 /etc
>   DUMP: Date of this level 0 dump: Mon Apr  1 17:27:47 2002
>   DUMP: Date of last level 0 dump: the epoch
>   DUMP: Dumping /etc to /dev/nsa0
>   DUMP: bad sblock magic number
>   DUMP: The ENTIRE dump is aborted.

dump(8) works on filesystems.  I suppose /etc is not a separate filesystem?

Ken
-- 
Kenneth Merry
ken@kdm.org

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




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