Amanda-Users

Re: Failure because of missing tapes.

2003-08-10 21:10:48
Subject: Re: Failure because of missing tapes.
From: Stephen Carville <carville AT cpl DOT net>
To: amanda-users AT amanda DOT org
Date: Sun, 10 Aug 2003 18:04:25 -0700
On Sunday 10 August 2003 02:10 pm, Jon LaBadie wrote:
> On Sun, Aug 10, 2003 at 11:59:52AM -0700, Stephen Carville wrote:
> > Whenever Amanda has to roll over to a new tape and the first tape 
in 
> > the expected list is missing, the backups fail.  For example, last 
> > night, the expected tapes were:
> > 
> > C83166
> > C83259
> > C83170
> > 
> > The tape C83166 was not in the changer so my wrapper script loaded 
> > C83259, fired off amdump, and the backup started up fine.  
However, 
> > when the tape ran out, Amanda tried to load C83166 but couldn't 
find 
> > it and failed.  C83170 was available but Amanda apparently did not 
> > try to load it.
> > 
> 
> When amanda reported the "next 3 tapes amanda expects are:"
> was C83170 within that group?

Yep:

The next Amanda run should go onto tape C83166 or a new tape.
The next Amanda run should go onto tape C83170 or a new tape.
The next Amanda run should go onto tape C83257 or a new tape.

> Also, was C83170 used more than 14 tapes ago?

Yep, again.
 
> I think unless at least the 2nd condition is met,
> that amanda will not use a tape.

Perhaps but, AFAIK, if the tape is more than one cycle old (in this 
case over seven days) it should be reusable.  

> > Is there a configuration option I can use to tell Amanda to try 
the 
> > next tape if the desired tape is not avaialble?
>  ...
> > 
> > ---- from amanda.conf ----
> > dumpcycle 7 days 
> > runspercycle 6
> > tapecycle 14 tapes
> > runtapes 3
> > ---- end  -----
> > 
> > I actually have 19 tapes allocated for this backup.
> > 
> 
> I'd say have several more available, but not labeled.
> When you are about to encounter that situation,
> label a new tape.  Amanda will always take a new tape.
> 
> -- 
> 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)
> 
> 

-- 
Stephen Carville
------------------------------------------------------------------
Right wing socialists hate privacy as much as the left wing 
socialists hate guns.

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