This is a feature of the changer: the next slot is "curslot++".
Some robotics support a "looped" search: when at last slot, the next slot is
first slot, some others don't.
I have 2 robots with chg-zd-mtx, one supports this loop search, the other one
doesn't.
So concerning my first robot I don't have any problem concerning the order of
the tapes when I put them into the tray. And concerning my second robot I have
to bear my mind that I have to put my tapes in Amanda order in the tray.
In your case, if you are in case 2, either you have to check that your tapes
are in Amanda order, or you can take your crontab solution writing a "1" the
"-slot" file.
On Wed, 7 Jan 2004 09:56:33 +0100
Postaremczak Bernd <Bernd.Postaremczak AT SMS-Eumuco DOT de> wrote:
> Hello,
>
> I've a problem with the chg-zd-mtx-Configuration. The Loader has some tapes
> in it and amanda backs up to one tape (e.g. slot 3). The next tape I want to
> use is in slot 2, but amanda searches the tape only after slot 3.
>
> If I set the number in the file chg-zd-mtx.conf-slot to 1, then amanda
> starts to search from slot 1.
>
> How can I config amanda to search everytime from slot 1? I don't find
> anything. A cronjob, who sets the slot-file before dumping to 1 is not an
> elegant solution.
>
>
> Thanks and regards
>
> Bernd
|