* Stefan G. Weichinger <[email protected]> [20161114 09:00]:
>
> I am trying to make my amanda.conf work with 3.4
>
> Has anyone done that already, any experience with the new sections like
> "storage" etc?
>
> For example amcheck tells me to define a storage called "tpchanger" when
> I have a simple config for a single tapedev:
>
> tapedev "tape:/dev/nst0"
>
> pls let's discuss and learn things ;-)
>
> Stefan
I'm just starting experimenting with amanda-3.4 new feature set so I
can't really say anything relevant at the moment. I'm still curious at
the new 'storage' and 'policy' stuff and will experiment with them later
this week.
Regarding your problem, I usually have the tapedev enclosed in a define
section like:
define device "lto6-drive" {
tapedev "tape:/dev/nst1"
device-property "BLOCK_SIZE" "2 mbytes"
}
and then have tpchanger reference it like this:
define changer "neo-t48" {
tpchanger "chg-robot:/dev/changer"
changerfile "/opt/amanda/etc/amanda/neo-t48-state"
property "tape-device" "1=lto6-drive"
property "use-slots" "1-48"
property "eject-before-unload" "yes"
property "eject-delay" "20s"
property "unload-delay" "2s"
property "load-poll" "5s poll 20s until 180s"
property "status-interval" "5s"
}
tpchanger "neo-t48"
amcheck seems happy with those.
cheers,
jf