1AMTAPE(8)               System Administration Commands               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 next
70           Eject any tape in the drive and put it away, then load the tape
71           from the next slot and reset current.
72
73       slot first
74           Eject any tape in the drive and put it away, then load the tape
75           from the first slot and reset current.
76
77       slot advance
78           Synonym for slot next.
79
80       -o configoption
81           See the "CONFIGURATION OVERRIDE" section in amanda(8).
82
83       This is useful with non-gravity stackers to unload the last tape used
84       and set up Amanda for the next run. If you just use eject, the current
85       tape will be mounted again in the next run, where it will be rejected
86       as being still in use, ejected and the next tape requested. Using slot
87       next followed by eject does an unnecessary mount.
88
89       Note: most changers optimize the slot commands to not eject the loaded
90       tape if it is the one being requested.
91

SEE ALSO

93       amanda(8), : http://wiki.zmanda.com
94

AUTHORS

96       James da Silva <jds@amanda.org>
97
98       Stefan G. Weichinger <sgw@amanda.org>
99
100
101
102Amanda 2.6.1p2                    11/05/2009                         AMTAPE(8)
Impressum