Imported Upstream version 2.4.4p3
[debian/amanda] / example / chg-multi.conf
1 # config file for the chg-multi tape changer program.
2 # Used when tpchanger "chg-multi" is specified in amanda.conf.
3
4 # chg-multi supports several configurations, with or without an actual 
5 # changer. Please see docs/TAPE.CHANGERS for a description
6 #
7 # chg-multi should actually work directly with any changer that allows
8 # access to the slots via Unix devices that look to software like
9 # regular tape drives. (that is, you don't need a changer driver...).
10
11 # Configuration variables:
12 #  
13 #  'multieject': use an 'mt offline' command to change to the next
14 #    tape, or multiple such commands for skipping several tapes at a
15 #    time. 
16 #
17 #  'needeject': this option is incompatible with 'multieject'. This is 
18 #    needed for changers accessed through several virtual tape
19 #    devices, when the changer needs the current tape to be ejected
20 #    before changing to another device.
21 #
22 #  'gravity': set this to 1 if the changer/stacker is unable to loop
23 #    back to the first tape after unloading the last one, or if you
24 #    don't want amanda to go through the tape stack looking for the
25 #    exact tape it wants instead of using the first acceptable one.
26 #
27 #  slot X: The configuration file should list as many 'slot X'
28 #    statements as the number of slots supported by the changer or the 
29 #    number of separate tape drives used.
30
31 # For changers that need an 'mt offline' to load the next tape
32 multieject 0
33
34 # Is this a gravity stacker that can't go backwards or cycle ?  If
35 # yes, set gravity to 1.
36 gravity 0
37
38 # Does this tape-changer need an explicit eject command before loading
39 # a new tape?  If you are using multiple drives as a tape changer, you
40 # don't want to do this, but if you are using an auto-changer that
41 # allows access to the slots through Unix tape devices, it might block
42 # the mount of a new slot until the old is explicitly ejected.  In
43 # that case, set needeject to 1.
44 needeject 0
45
46 # On some machines there is a delay between when the eject command
47 # finishes and the next tape is ready to be accessed.  Set ejectdelay
48 # to the number of seconds to wait after an eject command. This will
49 # almost certainly be needed if multieject is set, probably not if
50 # needeject is used.
51 ejectdelay 0
52
53 # Names a status file where the current ``changer'' state is stored.
54 statefile /usr/adm/amanda/csd/changer-status
55
56 # What are the slot numbers used in the tape rack?
57 firstslot 1
58 lastslot 4
59
60 # Enumerate the device files that go with the particular tape changer
61 # slots. Don't forget to specify the no-rewind version of the device.
62 slot 1 /dev/nrst8
63 slot 2 /dev/nrst9
64 slot 3 /dev/nrst10
65 slot 4 /dev/nrst11