Amanda-Users

Re: amanda refuses to use tapes

2003-03-30 18:10:42
Subject: Re: amanda refuses to use tapes
From: Jon LaBadie <jon AT jgcomp DOT com>
To: AMANDA users <amanda-users AT amanda DOT org>
Date: Sun, 30 Mar 2003 16:50:56 -0500
On Sun, Mar 30, 2003 at 03:32:52PM -0500, Jean-Francois Malouin wrote:
> Hi,
> 
> I have amanda version 2.4.3b4-20020829 running on a SGI Origin2000
> since last September and even I had a few problems (mainly I was
> hitting known bugs with tar and exclude lists) the last one just
> got me stumped and I can't clearly anymore even though I know the
> answer must be staring at me right in the eyes...
> 
> Essentially amanda is telling that she wants a new tape and she
> refuses to backup to tape but the tapes in the library should be used
> according to the amanda.conf dumpcycle, runspercycle and tapecycle
> (see below). here's the output of amcheck:
> 
> Amanda Tape Server Host Check   
> -----------------------------
> Holding disk /holddisk/conf1: 35836836 KB disk space available, using
> 35836836 KB
> amcheck-server: slot 4: date 20030220 label 000004 (active tape)
> amcheck-server: slot 5: date 20030221 label 000005 (active tape)
> amcheck-server: slot 6: date 20030222 label 000006 (active tape)
> amcheck-server: slot 7: date 20030223 label 000007 (active tape)
> amcheck-server: slot 8: date 20030224 label 000008 (active tape)
> amcheck-server: slot 9: date 20030225 label 000009 (active tape)
> amcheck-server: slot 10: date 20030226 label 000010 (active tape)
> amcheck-server: slot 1: date 20030217 label 000001 (active tape)
> amcheck-server: slot 2: date 20030218 label 000002 (active tape)
> amcheck-server: slot 3: date 20030219 label 000003 (active tape)
> ERROR: new tape not found in rack
>        (expecting a new tape)
> NOTE: skipping tape-writable test
> Server check took 950.340 seconds
> 
> --
> amanda.conf
> --
> 
> dumpcycle 2 weeks
> runspercycle 14
> tapecycle 40 tapes

This should be the total number of tapes you want to have in
circulation.  Amanda will not reuse any tape until it has
used this many different tapes.  I'm guessing you have used
the 10 in the changer but no others.  Tape 000001 will not be
used again until 30 more tapes are used.

> runtapes 10

This is the number of tapes amanda is allowed to use in a single
huge amdump or amflush session.  It will not use more tapes than
it needs to hold the session, but it may use 10 in a single run.

> tpchanger "chg-zd-mtx"
> tapedev "/hw/tape/tps12d1nrnsv"
> rawtapedev "/dev/null"
> changerfile "/opt/amanda/amanda1/etc/amanda/stk_40-conf1/stk_40"

Does this naming mean the library holds 40 tapes?
And are all 40 labeled tapes in the library?

If so, perhaps your changer files says the last slot is #10
and chg-zd-mtx is not looking at the others.

> changerdev "/dev/changer"
> tapetype Ultrium-SGT-LTO
> labelstr "^0000[0-9][0-9]*$"
> 

-- 
Jon H. LaBadie                  jon AT jgcomp DOT com
 JG Computing
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

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