3 .\" Author: James da Silva <jds@amanda.org>
4 .\" Generator: DocBook XSL Stylesheets vsnapshot_8273 <http://docbook.sf.net/>
6 .\" Manual: System Administration Commands
7 .\" Source: Amanda 2.6.1p2
10 .TH "AMTAPE" "8" "11/05/2009" "Amanda 2\&.6\&.1p2" "System Administration Commands"
11 .\" -----------------------------------------------------------------
12 .\" * set default formatting
13 .\" -----------------------------------------------------------------
14 .\" disable hyphenation
16 .\" disable justification (adjust text to left margin only)
18 .\" -----------------------------------------------------------------
19 .\" * MAIN CONTENT STARTS HERE *
20 .\" -----------------------------------------------------------------
22 amtape \- user interface to \fIAmanda\fR tape changer controls
24 .HP \w'\fBamtape\fR\ 'u
25 \fBamtape\fR \fIconfig\fR \fIcommand\fR [\fIcommand_options\fR...] [\fB\-o\ \fR\fIconfigoption\fR]...
29 performs tape changer control operations\&. It uses the underlying tape changer script defined by the
31 option for a particular
33 configuration as specified by the
37 Tape changers maintain a notion of the
41 slot for each configuration\&. These may or may not correspond to an actual physical state of the device, but do tend to minimize searching through the tape storage slots\&. If the desired tape is in the current slot, it is likely the next tape needed is in the next slot rather than at some random position in the storage slots\&.
45 man page for more details about
51 Reset the tape changer to a known state\&. The
55 slot\&. Other device\-specific side effects may occur\&. Some gravity stackers need to be reset to the top position by hand\&. This command notifies
57 the stacker is back in that position\&.
62 If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded\&.
67 If a cleaning tape is defined for the changer, it is used to clean the drive\&.
72 Show the contents of all slots\&. This can be slow\&.
75 \fBlabel\fR \fIlabel\fR
77 Search for and load the
87 scan algorithm\&. Load the next tape in the configuration\'s tape sequence, or a fresh tape with a suitable label\&.
92 Display the name of the current tape device on
98 Display the current slot\&.
103 Update the changer label database, if it has one, to match the tapes now available\&.
106 \fBslot\fR \fIslot\fR
108 Eject any tape in the drive and put it away, then load the tape from slot
116 Eject any tape in the drive and put it away, then load the tape from the current slot\&.
121 Eject any tape in the drive and put it away, then load the tape from the next slot and reset
127 Eject any tape in the drive and put it away, then load the tape from the first slot and reset
137 \fB\-o\fR \fIconfigoption\fR
139 See the "\fBCONFIGURATION OVERRIDE\fR" section in
143 This is useful with non\-gravity stackers to unload the last tape used and set up
145 for the next run\&. If you just use
146 \fBeject\fR, the current tape will be mounted again in the next run, where it will be rejected as being still in use, ejected and the next tape requested\&. Using
150 does an unnecessary mount\&.
152 Note: most changers optimize the
154 commands to not eject the loaded tape if it is the one being requested\&.
158 : http://wiki.zmanda.com
161 \fBJames da Silva\fR <\&jds@amanda\&.org\&>
163 \fBStefan G\&. Weichinger\fR <\&sgw@amanda\&.org\&>