7 amtape \- user interface to Amanda tape changer controls
17 performs tape changer control operations.
18 It uses the underlying tape changer script defined by the
20 option for a particular Amanda
21 configuration as specified by the
25 Tape changers maintain a notion of the
29 slot for each configuration.
30 These may or may not correspond to an actual physical state of the device,
31 but do tend to minimize searching through the tape storage slots.
32 If the desired tape is in the current slot,
33 it is likely the next tape needed is in the next slot
34 rather than at some random position in the storage slots.
38 man page for more details about Amanda.
42 Reset the tape changer to a known state.
48 Other device-specific side effects may occur.
49 Some gravity stackers need to be reset to the top position by hand.
50 This command notifies Amanda the stacker is back in that position.
53 If a tape is loaded in the drive, it is ejected and returned to the
54 slot from which it was loaded.
57 If a cleaning tape is defined for the changer,
58 it is used to clean the drive.
61 Show the contents of all slots.
65 Search for and load the Amanda tape with label
72 Load the next tape in the configuration's tape sequence,
73 or a fresh tape with a suitable label.
76 Display the name of the current tape device on
80 Display the current slot.
83 Update the changer label database, if it has one,
84 to match the tapes now available.
87 Eject any tape in the drive and put it away,
88 then load the tape from slot
94 Eject any tape in the drive and put it away,
95 then load the tape from the current slot.
98 Eject any tape in the drive and put it away,
99 then load the tape from the previous slot and reset
103 Eject any tape in the drive and put it away,
104 then load the tape from the next slot and reset
108 Eject any tape in the drive and put it away,
109 then load the tape from the first slot and reset
113 Eject any tape in the drive and put it away,
114 then load the tape from the last slot and reset
118 Eject any tape in the drive and put it away.
121 to the next tape, but do not load it.
123 This is useful with non-gravity stackers to unload the last tape used
124 and set up Amanda for the next run.
127 the current tape will be mounted again in the next run,
128 where it will be rejected as being still in use,
129 ejected and the next tape requested.
134 does an unnecessary mount.
136 Note: most changers optimize the
138 commands to not eject the loaded tape if it is the one being requested.
140 James da Silva <jds@cs.umd.edu>
142 University of Maryland, College Park