Amanda-Users

Re: File-driver: degraded mode

2005-04-27 08:49:00
Subject: Re: File-driver: degraded mode
From: Matt Hyclak <hyclak AT math.ohiou DOT edu>
To: amanda-users AT amanda DOT org
Date: Wed, 27 Apr 2005 08:30:54 -0400
On Wed, Apr 27, 2005 at 01:09:45AM -0400, Kuas enlightened us:
> Frank Smith wrote:
> 
> >--On Tuesday, April 26, 2005 22:26:54 -0400 kuas <ku4s AT users.sourceforge 
> >DOT net> wrote:
> >
> >  
> >
> >>Hi all,
> >>
> >>I am using file-driver setup. And set all the tape to "reuse", I set the
> >>tapecycle=9, dumpcycle=5 (full backup every 5 days),
> >>runspercycle=5,runtapes=1 and tapechanger="chg-disk". And in the
> >>tapelist file:
> >>
> >>20050422 daily8 reuse
> >>20050422 daily5 reuse
> >>20050422 daily7 reuse
> >>20050422 daily6 reuse
> >>20050422 daily1 reuse
> >>20050422 daily3 reuse
> >>20050422 daily2 reuse
> >>20050422 daily9 reuse
> >>
> >>But,  I just realize that my holding-disk is full and some backups
> >>failed because of that. The reason is amanda is running on degraded
> >>mode. The output of amcheck verifies that:
> >>
> >>Holding disk /opt/amanda-holding: 11179172 KB disk space available,
> >>that's plenty
> >>amcheck-server: slot 7: date 20050422 label daily7 (active tape)
> >>amcheck-server: slot 8: date 20050422 label daily8 (active tape)
> >>amcheck-server: slot 9: date 20050422 label daily9 (active tape)
> >>amcheck-server: slot 1: date 20050425 label daily1 (active tape)
> >>amcheck-server: slot 2: date 20050422 label daily2 (active tape)
> >>amcheck-server: slot 3: date 20050422 label daily3 (active tape)
> >>amcheck-server: slot 4: date 20050422 label daily1 (active tape)
> >>amcheck-server: slot 5: date 20050422 label daily5 (active tape)
> >>amcheck-server: slot 6: date 20050422 label daily6 (active tape)
> >>ERROR: new tape not found in rack
> >>      (expecting a new tape)
> >>NOTE: skipping tape-writable test
> >>
> >>I don't understand why in slot 4 was not labeled with daily4. But back
> >>to the problem, all the tapes are supposed to be reuse, why it does not
> >>recycle the tapes after the last taped is filled? Am I missing any
> >>configuration?
> >>    
> >>
> >
> >Your dumpcycle  is 5 days, but all your tapes are less than five days old,
> >so Amanda won't reuse them yet.  Did you write all 9 tapes on the 22nd,
> >or is your changer script not properly updating the tapelist?  The date on
> >each tape should be the day it was last written to.
> >  
> >
> I see, so it will go strictly by the day to prevent full backup lost as
> reference. I was actually testing amanda at that time, by calling amdump
> straight in the command line. How can I fix this without resetting all
> the tapes again. Can I reset the day count? Is there anyway I can force
> it going to full backup and let it continue backup in the tape? Thanks.
> 
> Kuas.

Actually, that's not true. It goes by your tapecycle setting. You have a 
tapecycle of 9 tapes, and only 8 tapes are labeled for some reason (as you 
noted, tape 4 is missing), so amanda will not overwrite tapes until you've
used 9. If you label tape 4, then amanda should start cycling through as
normal. You probably will want to look into why they've all been written on
the 22nd, however.

Matt

-- 
Matt Hyclak
Department of Mathematics 
Department of Social Work
Ohio University
(740) 593-1263

Attachment: pgpeqoBuAjA3t.pgp
Description: PGP signature

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