Blame example/chg-multi.conf

Packit Service 392537
# config file for the chg-multi tape changer program.
Packit Service 392537
# Used when tpchanger "chg-multi" is specified in amanda.conf.
Packit Service 392537
Packit Service 392537
# chg-multi supports several configurations, with or without an actual 
Packit Service 392537
# changer. Please see docs/TAPE.CHANGERS for a description
Packit Service 392537
#
Packit Service 392537
# chg-multi should actually work directly with any changer that allows
Packit Service 392537
# access to the slots via Unix devices that look to software like
Packit Service 392537
# regular tape drives. (that is, you don't need a changer driver...).
Packit Service 392537
Packit Service 392537
# Configuration variables:
Packit Service 392537
#  
Packit Service 392537
#  'multieject': use an 'mt offline' command to change to the next
Packit Service 392537
#    tape, or multiple such commands for skipping several tapes at a
Packit Service 392537
#    time. 
Packit Service 392537
#
Packit Service 392537
#  'needeject': this option is incompatible with 'multieject'. This is 
Packit Service 392537
#    needed for changers accessed through several virtual tape
Packit Service 392537
#    devices, when the changer needs the current tape to be ejected
Packit Service 392537
#    before changing to another device.
Packit Service 392537
#
Packit Service 392537
#  'gravity': set this to 1 if the changer/stacker is unable to loop
Packit Service 392537
#    back to the first tape after unloading the last one, or if you
Packit Service 392537
#    don't want amanda to go through the tape stack looking for the
Packit Service 392537
#    exact tape it wants instead of using the first acceptable one.
Packit Service 392537
#
Packit Service 392537
#  slot X: The configuration file should list as many 'slot X'
Packit Service 392537
#    statements as the number of slots supported by the changer or the 
Packit Service 392537
#    number of separate tape drives used.
Packit Service 392537
Packit Service 392537
# For changers that need an 'mt offline' to load the next tape
Packit Service 392537
multieject 0
Packit Service 392537
Packit Service 392537
# Is this a gravity stacker that can't go backwards or cycle ?  If
Packit Service 392537
# yes, set gravity to 1.
Packit Service 392537
gravity 0
Packit Service 392537
Packit Service 392537
# Does this tape-changer need an explicit eject command before loading
Packit Service 392537
# a new tape?  If you are using multiple drives as a tape changer, you
Packit Service 392537
# don't want to do this, but if you are using an auto-changer that
Packit Service 392537
# allows access to the slots through Unix tape devices, it might block
Packit Service 392537
# the mount of a new slot until the old is explicitly ejected.  In
Packit Service 392537
# that case, set needeject to 1.
Packit Service 392537
needeject 0
Packit Service 392537
Packit Service 392537
# On some machines there is a delay between when the eject command
Packit Service 392537
# finishes and the next tape is ready to be accessed.  Set ejectdelay
Packit Service 392537
# to the number of seconds to wait after an eject command. This will
Packit Service 392537
# almost certainly be needed if multieject is set, probably not if
Packit Service 392537
# needeject is used.
Packit Service 392537
ejectdelay 0
Packit Service 392537
Packit Service 392537
# Names a status file where the current ``changer'' state is stored.
Packit Service 392537
statefile /usr/adm/amanda/csd/changer-status
Packit Service 392537
Packit Service 392537
# What are the slot numbers used in the tape rack?
Packit Service 392537
firstslot 1
Packit Service 392537
lastslot 4
Packit Service 392537
Packit Service 392537
# Enumerate the device files that go with the particular tape changer
Packit Service 392537
# slots. Don't forget to specify the no-rewind version of the device.
Packit Service 392537
slot 1 /dev/nrst8
Packit Service 392537
slot 2 /dev/nrst9
Packit Service 392537
slot 3 /dev/nrst10
Packit Service 392537
slot 4 /dev/nrst11