Amanda-Users

Re: Trouble with Quantum DLT-S4 tapedrive

2007-04-19 14:37:50
Subject: Re: Trouble with Quantum DLT-S4 tapedrive
From: Toomas Aas <toomas.aas AT raad.tartu DOT ee>
To: Richard Stockton <amanda AT richardleestockton DOT org>
Date: Thu, 19 Apr 2007 20:58:57 +0300
Richard Stockton wrote:

I am unable to get amanda to write to my new Quantum DLT-S4 drive.
I am trying to write directly to tape with no "holding" space.

    OS: FreeBSD 6.2-RELEASE #0
Amanda: 2.5.1p3

Tapes label okay, and "amcheck" is happy, but when I do an "amdump bak15"
I get errors.  Here are the log and amdump files, plus the lines that
repeat in my syslog, and the various ".debug" files and my amanda.conf
(sorry for the lengthy email, but I wanted you to have all the info).

log:
DISK planner bak-05 aacd3s1d
START planner date 20070412122332
START driver date 20070412122332
WARNING planner Last full dump of bak-05:aacd3s1d on tape overwritten in 1 run.
STATS driver startup time 0.020
START taper datestamp 20070412122332 label VOL153 tape 0
FINISH planner date 20070412122332 time 131.949
INFO taper tape VOL153 kb 0 fm 1 writing file: Input/output error
> FAIL taper bak-05 aacd3s1d 20070412122332 0 [out of tape]

Well, gosh. Almost immediately after taping begins there is an I/O error. This doesn't look good at all.

/var/log/messages:
Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): Unexpected busfree in Data-out phase
Apr 12 12:26:54 bak-05 kernel: SEQADDR == 0x85
Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): WRITE FILEMARKS. CDB: 10 0 0 0 1 0 Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): CAM Status: SCSI Status Error Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): SCSI Status: Check Condition Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): Deferred Error: ABORTED COMMAND csi:0,0,0,2 asc:44,82
Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): Vendor Specific ASCQ
Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): Retries Exhausted
Apr 12 12:26:54 bak-05 kernel: (sa0:ahc2:0:5:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM command to clear this state.

This really looks like a hardware problem, or compatibility problem between your tape drive and FreeBSD (which would be a surprise). Since labelling tapes is successful, the tape drive must be at least somewhat functional.

Are you able to write any significant amount of data (more than Amanda's 32 kB label) to tape with utilities such as dump or tar?

What is your tape blocksize set to? Amanda internally uses 32 kB blocksize and I have seen some problems when tape blocksize is set to something else, such as 1 kB. I've found it best to set the blocksize to variable (mt blocksize 0).

--
Toomas Aas

<Prev in Thread] Current Thread [Next in Thread>