A while back one of my small older drives containing
vtapes failed.  I replaced it and its twin with larger
drives.  I moved the still good vtapes from the good
twin to the new drives, created empty vtapes for the
lost backups from the crashed drive, and added a good
number of new vtapes.

However, none of the previously unused vtapes are
being used by amanda and I can not figure out why.

Here are relevant entries from my current tape list.

20171227025501 DS1-018 reuse BLOCKSIZE:32 POOL:DS1 STORAGE:DS1 CONFIG:DS1
...
20170705025501 DS1-019 reuse BLOCKSIZE:32 POOL:DS1 STORAGE:DS1 CONFIG:DS1
20170627205502 DS1-009 reuse BLOCKSIZE:32 POOL:DS1 STORAGE:DS1 CONFIG:DS1
...
20170618085502 DS1-209 reuse BLOCKSIZE:32 POOL:DS1 STORAGE:DS1 CONFIG:DS1
20170618025502 DS1-208 reuse BLOCKSIZE:32 POOL:DS1 STORAGE:DS1 CONFIG:DS1

DS1-018 is the vtape it used last night, 019 will be
used tonight.  DS1-208 is at the bottom of the list
and amanda is skipping all 40 tapes between it and
DS1-009.


There are 3 ways to check what tapes will be used.
However their results differ.

$ amanda amadmin DS1 tape
The next Amanda should go onto tape DS1-208 or a new tape.
                               tape DS1-209 or a new tape.
                               tape DS1-210 or a new tape.

$ amanda amtape DS1 taper
slot 19: volume 'DS1-019'
Will write to volume 'DS1-019' in slot 19.

$ amcheck DS1
Amanda Tape Server Host Check
-----------------------------
NOTE: Holding disk '/amanda/Holding': 293752 MB disk space available, using 
293652 MB
slot 19: volume 'DS1-019'
Will write to volume 'DS1-019' in slot 19.

[ looks the same as amtape ]


Any clues as to why the 40+ tapes are not being used?

Why do amadmin and amtape/amcheck use different
algorithms when looking up the next tape(s) to be used?

Jon
-- 
Jon H. LaBadie                 j...@jgcomp.com
 11226 South Shore Rd.          (703) 787-0688 (H)
 Reston, VA  20190              (703) 935-6720 (C)

Reply via email to