1AMTAPE(8)                                                            AMTAPE(8)
2
3
4

NAME

6       amtape - user interface to Amanda tape changer controls
7

SYNOPSIS

9       amtape config command [command_options...] [-o configoption]...
10

DESCRIPTION

12       Amtape performs tape changer control operations. It uses the underlying
13       tape changer script defined by the tpchanger option for a particular
14       Amanda configuration as specified by the config argument.
15
16       Tape changers maintain a notion of the current and next slot for each
17       configuration. These may or may not correspond to an actual physical
18       state of the device, but do tend to minimize searching through the tape
19       storage slots. If the desired tape is in the current slot, it is likely
20       the next tape needed is in the next slot rather than at some random
21       position in the storage slots.
22
23       See the amanda(8) man page for more details about Amanda.
24

COMMANDS

26       reset
27           Reset the tape changer to a known state. The current slot is set to
28           the first slot. Other device-specific side effects may occur. Some
29           gravity stackers need to be reset to the top position by hand. This
30           command notifies Amanda the stacker is back in that position.
31
32       eject
33           If a tape is loaded in the drive, it is ejected and returned to the
34           slot from which it was loaded.
35
36       clean
37           If a cleaning tape is defined for the changer, it is used to clean
38           the drive.
39
40       show
41           Show the contents of all slots. This can be slow.
42
43       label label
44           Search for and load the Amanda tape with label label.
45
46       taper
47           Perform the taper scan algorithm. Load the next tape in the
48           configuration's tape sequence, or a fresh tape with a suitable
49           label.
50
51       device
52           Display the name of the current tape device on stdout.
53
54       current
55           Display the current slot.
56
57       update
58           Update the changer label database, if it has one, to match the
59           tapes now available.
60
61       slot slot
62           Eject any tape in the drive and put it away, then load the tape
63           from slot slot and reset current.
64
65       slot current
66           Eject any tape in the drive and put it away, then load the tape
67           from the current slot.
68
69       slot prev
70           Eject any tape in the drive and put it away, then load the tape
71           from the previous slot and reset current.
72
73       slot next
74           Eject any tape in the drive and put it away, then load the tape
75           from the next slot and reset current.
76
77       slot first
78           Eject any tape in the drive and put it away, then load the tape
79           from the first slot and reset current.
80
81       slot last
82           Eject any tape in the drive and put it away, then load the tape
83           from the last slot and reset current.
84
85       slot advance
86           Eject any tape in the drive and put it away. Advance current to the
87           next tape, but do not load it.
88
89       -o configoption
90           See the "CONFIGURATION OVERWRITE" section in amanda(8).
91
92       This is useful with non-gravity stackers to unload the last tape used
93       and set up Amanda for the next run. If you just use eject, the current
94       tape will be mounted again in the next run, where it will be rejected
95       as being still in use, ejected and the next tape requested. Using slot
96       next followed by eject does an unnecessary mount.
97
98       Note: most changers optimize the slot commands to not eject the loaded
99       tape if it is the one being requested.
100

AUTHOR

102       James da Silva, <jds@amanda.org> : Original text
103
104       Stefan G. Weichinger, <sgw@amanda.org>, maintainer of the
105       Amanda-documentation: XML-conversion
106

SEE ALSO

108       amanda(8)
109
110
111
112                                  02/07/2007                         AMTAPE(8)
Impressum