My conf (the relevant parts)
tpchanger "robot"
define changer robot {
tpchanger "chg-robot:/dev/changer"
changerfile "/etc/amanda/XXXX/changer-state"
property "tape-device" "0=tape:/dev/nst0"
property "eject-before-unload" "no"
property "use-slots" "1-100"
property "load-poll" "0s poll 3s until 120s"
}
amrecover_changer "/dev/changer"
and /dev/changer is a sym link to /dev/sg11
So let me explain what is /dev/sg11 ... this is the device that
allows the manipulation and see the tapes and drives of the
robot, for example can be used with the command mtx
$ mtx -f /dev/sg11 status
Cheers,
Nuno
On Wed, 2022-05-25 at 12:35 +0200, Stefan G. Weichinger wrote:
> Am 25.05.22 um 12:17 schrieb Nuno Dias:
> >
> > I have "tapedev" in /etc/amanda/amanda-client.conf but is
> > commented, maybe was used a long time ago, but right now is
> > not
> > necessary with my configuration.
> >
> > And yes I do not choose any device or changer when I
> > execute
> > amrecover.
>
> OK, great.
>
> My amrecover still wants to use /dev/nst0, even after setting
> "amrecover_changer"
>
> I can edit it, no problem, but I try to configure it as good as
> possible
> ... and write a decent howto.
>
> Setting "robot" as device in amrecover doesn't work.
>
> What do you have in "tpchanger" ?
>
> pls share the relevant blocks
>
>
>
>
>
>
>
>
--
Nuno Dias <[email protected]>
LIP