--On Thursday, May 02, 2002 07:29:30 -0500 Michael Davis <[EMAIL PROTECTED]> wrote:

> I have amanda cofigured to use the tapeio code. I am running amanda-2.4.3b3
> on all servers and clients. Attached is my amanda.conf and my changer.conf.
> Here is what amcheck reports:
>
> Amanda Tape Server Host Check
> -----------------------------
> Holding disk /backups: 210982006 KB disk space available, using 210982006 KB
> amcheck-server: slot 7: date 20020422 label DailySet107 (active tape)
> amcheck-server: slot 1: date 20020502 label DailySet101 (active tape)
> amcheck-server: slot 2: date 20020422 label DailySet102 (active tape)
> amcheck-server: slot 3: date 20020422 label DailySet103 (active tape)
> amcheck-server: slot 4: date 20020426 label DailySet104 (active tape)
> amcheck-server: slot 5: date 20020427 label DailySet105 (active tape)
> amcheck-server: slot 6: date 20020430 label DailySet106 (active tape)
> ERROR: new tape not found in rack
>        (expecting a new tape)
> NOTE: skipping tape-writable test
> Server check took 0.582 seconds
>
> Amanda Backup Client Hosts Check
> --------------------------------
> Client check: 4 hosts checked in 0.103 seconds, 0 problems found
>
> (brought to you by Amanda 2.4.3b3)
>
> How do I get amanda to automattically resuse the tapes?

Change your config and/or get more tapes.  In your amanda.conf you have:

dumpcycle 4 weeks       # the number of days in the normal dump cycle
runspercycle 20         # the number of amdump runs in dumpcycle days
                        # (4 weeks * 5 amdump runs per week -- just weekdays)
tapecycle 25 tapes      # the number of tapes in rotation

You are saying you only need one level 0 every 4 weeks (dumpcycle) and
during that time Amanda runs 20 times (runspercycle) using a set of
25 tapes (tapecycle).  Since your changer is defined with 7 slots and
Amanda has now used all those tapes, it is looking for the 8th tape
which doesn't exist in the changer.  It will later want tapes 9 - 25
before it will overwrite tape 1.
   If you really have 25 tapes, then you should put tapes 8 - 15 into
your changer in place of tapes 1 - 7.
   If you really have only seven tapes then I would suggest changing
the dumpcyle to 1 week, runspercycle to 5, and tapecycle to 7.  If
a daily run doesn't fit on one tape, then you would need more tapes.
Actually, you need more tapes anyway so you would have more than one
level 0 of a disk on tape in case of a read error during a restore.

Frank

--
Frank Smith                                                [EMAIL PROTECTED]
Systems Administrator                                     Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501

Reply via email to