3 Prev Chapter 36. The Amanda Manual Pages. Next
5 -------------------------------------------------------------------------------
9 amtape
\14 user interface to Amanda tape changer controls
13 amtape config command [command_options...] [-oconfigoption]...
17 Amtape performs tape changer control operations. It uses the underlying tape
18 changer script defined by the tpchanger option for a particular Amanda
19 configuration as specified by the config argument.
20 Tape changers maintain a notion of the current and next slot for each
21 configuration. These may or may not correspond to an actual physical state of
22 the device, but do tend to minimize searching through the tape storage slots.
23 If the desired tape is in the current slot, it is likely the next tape needed
24 is in the next slot rather than at some random position in the storage slots.
25 See the amanda(8) man page for more details about Amanda.
32 Reset the tape changer to a known state. The current slot is set to the
33 first slot. Other device-specific side effects may occur. Some gravity
34 stackers need to be reset to the top position by hand. This command
35 notifies Amanda the stacker is back in that position.
38 If a tape is loaded in the drive, it is ejected and returned to the slot
39 from which it was loaded.
42 If a cleaning tape is defined for the changer, it is used to clean the
46 Show the contents of all slots. This can be slow.
49 Search for and load the Amanda tape with label label.
52 Perform the taper scan algorithm. Load the next tape in the
53 configuration's tape sequence, or a fresh tape with a suitable label.
56 Display the name of the current tape device on stdout.
59 Display the current slot.
62 Update the changer label database, if it has one, to match the tapes now
66 Eject any tape in the drive and put it away, then load the tape from slot
67 slot and reset current.
70 Eject any tape in the drive and put it away, then load the tape from the
74 Eject any tape in the drive and put it away, then load the tape from the
75 previous slot and reset current.
78 Eject any tape in the drive and put it away, then load the tape from the
79 next slot and reset current.
82 Eject any tape in the drive and put it away, then load the tape from the
83 first slot and reset current.
86 Eject any tape in the drive and put it away, then load the tape from the
87 last slot and reset current.
90 Eject any tape in the drive and put it away. Advance current to the next
91 tape, but do not load it.
94 See the "CONFIGURATION OVERWRITE" section in amanda(8).
96 This is useful with non-gravity stackers to unload the last tape used and set
97 up Amanda for the next run. If you just use eject, the current tape will be
98 mounted again in the next run, where it will be rejected as being still in use,
99 ejected and the next tape requested. Using slot next followed by eject does an
101 Note: most changers optimize the slot commands to not eject the loaded tape if
102 it is the one being requested.
106 James da Silva, <jds@amanda.org> : Original text
107 Stefan G. Weichinger, <sgw@amanda.org>, maintainer of the Amanda-documentation:
113 -------------------------------------------------------------------------------
116 amstatus Home amtapetype