On Wed, Dec 27, 2017 at 06:07:41PM -0500, Jon LaBadie wrote:
> On Wed, Dec 27, 2017 at 05:26:04PM -0500, Jean-Louis Martineau wrote:
> > Jon,
> > 
> > 'amadmin tape' list the oldest reusable label, it doesn't use the 
> > taperscan algorithm and it doesn't check what is currently loaded in the 
> > changer.
> > 'amcheck' and 'amtape' run the taperscan algorithm and verify they are 
> > in the changer.
> > 
> > Which taperscan are you using?
> > 
> 
> Just a bit more info (I already posted "lexical" is my algorithm.
> 
> I did an "amtape DS1 inventory".  It lists all 240 tapes.
> 
> The output has two values in the last column, "[retention-tapes]"
> and "[retention-no]".  However these do not match the in-use vs.
> skipped tapes.
> 
>   DS1-000 to DS1-009 [retention-no]     # recreated after crash
>                                         # currently being skipped
>   DS1-010 to DS1-018 [retention-tapes]  # most recently used
>                                         # after looping from 207
>   DS1-019 to DS1-077 [retention-no]     # oldest used and I assume
>                                         # will be used next
>   DS1-078 to DS1-207 [retention-tapes]  # used after 077 and
>                                         # looped to 010
>   DS1-208 to DS1-239 [retention-no]     # newly created, never used
>                                         # skipped over
Further update,

I changed the taper scan algorthm from lexical to oldest.
This changed the next tape from DS1-019 to DS1-208.

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