On Fri, Dec 14, 2001 at 10:15:05AM -0500, Chris Dahn wrote:
> On Friday 14 December 2001 06:51 am, Adolfo Manuel Pach�n Rodr�guez wrote:
> > This is my FIRST tapelist file:
> >
> > 0 Diaria-000 reuse
> > 0 Diaria-001 reuse
> > 0 Diaria-002 reuse
> > 0 Diaria-003 reuse
> > 0 Diaria-004 reuse
> > 0 Diaria-005 reuse
> > 0 Diaria-006 reuse
> >
> > I do �amdump Diaria� today, and the tapelist file is now:
> >
> > 20011214 Diaria-004 reuse
> > 0 Diaria-000 reuse
> > 0 Diaria-001 reuse
> > 0 Diaria-002 reuse
> > 0 Diaria-003 reuse
> > 0 Diaria-005 reuse
> > 0 Diaria-006 reuse
> >
> > The report says:
> >
> > These dumps were to tape Diaria-004.
> > The next tape Amanda expects to use is: Diaria-006.
> >
> > Why not the Diaria-005?
> 
>   Right. So, on the second listing there, you'll see that the last entry in 
> the tapelist file is "0 Diaria-006 reuse". This means it's the next tape to 
> be used. The most recently used tape is the 1st line in the file. The second 
> line is the tape you would have used yesterday and so forth. Amanda "expects" 
> the next tape to be the last one in the tapelist file, then it moves that 
> tape entry to the top of the file after amdump runs.
> 
>   So, if you don't want Diaria-006 (I think you said you only had 6 tapes 
> previously, so you should have Diaria-000 through Diaria-005), then you need 
> to run "amrmtape Diaria-006" to remove it from the tapelist file. After that, 
> the next tape it will expect is Diaria-005.
> 
>>> End of included message <<<

As these are all "unused" tapes, if tape 5 is the only one available,
would amanda use it?

Also, as these are the first use, a little editor rearrangement of the
tapelist file should not upset anything like indicies ...  So could the
file be hand edited to:

    20011214 Diaria-004 reuse
    0 Diaria-003 reuse
    0 Diaria-002 reuse
    0 Diaria-001 reuse
    0 Diaria-000 reuse
    0 Diaria-006 reuse
    0 Diaria-005 reuse

-- 
Jon H. LaBadie                  [EMAIL PROTECTED]
 JG Computing                   [EMAIL PROTECTED]
 4455 Province Line Road        (609) 252-0159
 Princeton, NJ  08540-4322      (609) 683-7220 (fax)

Reply via email to