Amanda-Users

Re: Amcheck finds no suitable tape, but doesn't complain

2006-05-05 16:13:01
Subject: Re: Amcheck finds no suitable tape, but doesn't complain
From: Jon LaBadie <jon AT jgcomp DOT com>
To: amanda-users AT amanda DOT org
Date: Fri, 5 May 2006 16:08:23 -0400
On Fri, May 05, 2006 at 01:54:46PM -0500, Jason L Tibbitts III wrote:
> I hope this wasn't posted recently; I've just rejoined after many
> years and have only read the past couple of weeks of traffic in the
> archives.
> 
> I'm running 2.5.0 on Fedora Core 5 (rpms build from Fedora CVS plus
> the "amtape update" patch).  I'm dumping to an LTO3 drive in an
> Exabyte Magnum 1x7 changer.
> 
> The changer works great; Amanda can cycle through it and find the
> tapes it needs, and backups go smoothly.  But the problem comes when
> there's no appropriate tape in the changer.  In this case, amcheck
> goes through the whole changer, decides it can't find an appropriate
> tape, and does nothing.  If I call it with -a instead of -m, I get:
> 
> Subject: MATH AMCHECK REPORT: NO PROBLEMS FOUND
> 
> Amanda Tape Server Host Check
> -----------------------------
> Holding disk /local/amanda/work: 203375 MB disk space available, using 203275 
> MB
> slot 7: read label `A00007', date `20060503'
> slot 1: read label `A00008', date `20060505'
> slot 2: read label `A00002', date `20060426'
> slot 3: read label `A00003', date `20060427'
> slot 4: read label `A00004', date `20060428'
> slot 5: read label `A00005', date `20060429'
> slot 6: read label `A00006', date `20060502'
> 
>        (expecting a new tape)
> Server check took 266.366 seconds
> 
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 14 hosts checked in 10.024 seconds, 0 problems found
> 
> (brought to you by Amanda 2.5.0)
> 
> (I note that it doesn't seem to use the barcode database to find the
> tapes.  I hope that's not related.)
> 

I'm not sure what you were expecting amcheck to do.

It did not find a tape it thought was suitable to use.
Your tapecycle parameter looks to be greater than 7,
so it wants an new (eighth) tape.  Had you labeled,
but not loaded, more tapes it would know about them
and give you a message "the next labeled new tape is".

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