Imported Upstream version 2.6.0p2
[debian/amanda] / man / amtape.8
index 1741d4f74bbba2d227f876b73cd9a73245eac665..fcf3296bb4cffb64affad105e183bb2c6c0210f6 100644 (file)
-.\"Generated by db2man.xsl. Don't modify this, modify the source.
-.de Sh \" Subsection
-.br
-.if t .Sp
-.ne 5
-.PP
-\fB\\$1\fR
-.PP
-..
-.de Sp \" Vertical space (when we can't use .PP)
-.if t .sp .5v
-.if n .sp
-..
-.de Ip \" List item
-.br
-.ie \\n(.$>=3 .ne \\$3
-.el .ne 3
-.IP "\\$1" \\$2
-..
-.TH "AMTAPE" 8 "" "" ""
-.SH NAME
-amtape \- user interface to AMANDA tape changer controls
-.SH "SYNOPSIS"
+.\"     Title: amtape
+.\"    Author: 
+.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
+.\"      Date: 08/22/2008
+.\"    Manual: 
+.\"    Source: 
+.\"
+.TH "AMTAPE" "8" "08/22/2008" "" ""
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
 .ad l
-.hy 0
+.SH "NAME"
+amtape - user interface to Amanda tape changer controls
+.SH "SYNOPSIS"
 .HP 7
-\fBamtape\fR \fIconfig\fR \fIcommand\fR [\fIcommand\fR\ \fIoptions\fR]
-.ad
-.hy
-
+\fBamtape\fR \fIconfig\fR \fIcommand\fR [\fIcommand_options\fR...] [\fB\-o\ \fR\fIconfigoption\fR]...
 .SH "DESCRIPTION"
-
 .PP
-\fBAmtape\fR performs tape changer control operations\&. It uses the underlying tape changer script defined by the \fBtpchanger\fR option for a particular \fBAMANDA\fR configuration as specified by the \fBconfig\fR argument\&.
-
+\fBAmtape\fR
+performs tape changer control operations\. It uses the underlying tape changer script defined by the
+\fBtpchanger\fR
+option for a particular
+\fIAmanda\fR
+configuration as specified by the
+\fIconfig\fR
+argument\.
 .PP
-Tape changers maintain a notion of the \fBcurrent\fR and \fBnext\fR 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\&.
-
+Tape changers maintain a notion of the
+\fIcurrent\fR
+and
+\fInext\fR
+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\.
 .PP
-See the \fBamanda\fR(8) man page for more details about \fBAMANDA\fR\&.
-
+See the
+\fBamanda\fR(8)
+man page for more details about
+\fIAmanda\fR\.
 .SH "COMMANDS"
-
-.TP
+.PP
 \fBreset\fR
-Reset the tape changer to a known state\&. The \fBcurrent\fR slot is set to the \fBfirst\fR slot\&. Other device\-specific side effects may occur\&. Some gravity stackers need to be reset to the top position by hand\&. This command notifies \fBAMANDA\fR the stacker is back in that position\&.
-
-.TP
+.RS 4
+Reset the tape changer to a known state\. The
+\fIcurrent\fR
+slot is set to the
+\fIfirst\fR
+slot\. Other device\-specific side effects may occur\. Some gravity stackers need to be reset to the top position by hand\. This command notifies
+\fIAmanda\fR
+the stacker is back in that position\.
+.RE
+.PP
 \fBeject\fR
-If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded\&.
-
-.TP
+.RS 4
+If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded\.
+.RE
+.PP
 \fBclean\fR
-If a cleaning tape is defined for the changer, it is used to clean the drive\&.
-
-.TP
+.RS 4
+If a cleaning tape is defined for the changer, it is used to clean the drive\.
+.RE
+.PP
 \fBshow\fR
-Show the contents of all slots\&. This can be slow\&.
-
-.TP
-\fBlabel\fR \fBlabel\fR
-Search for and load the \fBAMANDA\fR tape with label \fBlabel\fR\&.
-
-.TP
+.RS 4
+Show the contents of all slots\. This can be slow\.
+.RE
+.PP
+\fBlabel\fR \fIlabel\fR
+.RS 4
+Search for and load the
+\fIAmanda\fR
+tape with label
+\fIlabel\fR\.
+.RE
+.PP
 \fBtaper\fR
-Perform the \fBtaper\fR scan algorithm\&. Load the next tape in the configuration's tape sequence, or a fresh tape with a suitable label\&.
-
-.TP
+.RS 4
+Perform the
+\fBtaper\fR
+scan algorithm\. Load the next tape in the configuration\'s tape sequence, or a fresh tape with a suitable label\.
+.RE
+.PP
 \fBdevice\fR
-Display the name of the current tape device on \fBstdout\fR\&.
-
-.TP
+.RS 4
+Display the name of the current tape device on
+\fIstdout\fR\.
+.RE
+.PP
 \fBcurrent\fR
-Display the current slot\&.
-
-.TP
+.RS 4
+Display the current slot\.
+.RE
+.PP
 \fBupdate\fR
-Update the changer label database, if it has one, to match the tapes now available\&.
-
-.TP
-\fBslot\fR \fBslot\fR
-Eject any tape in the drive and put it away, then load the tape from slot \fBslot\fR and reset \fBcurrent\fR\&.
-
-.TP
+.RS 4
+Update the changer label database, if it has one, to match the tapes now available\.
+.RE
+.PP
+\fBslot\fR \fIslot\fR
+.RS 4
+Eject any tape in the drive and put it away, then load the tape from slot
+\fIslot\fR
+and reset
+\fIcurrent\fR\.
+.RE
+.PP
 \fBslot current\fR
-Eject any tape in the drive and put it away, then load the tape from the current slot\&.
-
-.TP
+.RS 4
+Eject any tape in the drive and put it away, then load the tape from the current slot\.
+.RE
+.PP
 \fBslot prev\fR
-Eject any tape in the drive and put it away, then load the tape from the previous slot and reset \fBcurrent\fR\&.
-
-.TP
+.RS 4
+Eject any tape in the drive and put it away, then load the tape from the previous slot and reset
+\fIcurrent\fR\.
+.RE
+.PP
 \fBslot next\fR
-Eject any tape in the drive and put it away, then load the tape from the next slot and reset \fBcurrent\fR\&.
-
-.TP
+.RS 4
+Eject any tape in the drive and put it away, then load the tape from the next slot and reset
+\fIcurrent\fR\.
+.RE
+.PP
 \fBslot first\fR
-Eject any tape in the drive and put it away, then load the tape from the first slot and reset \fBcurrent\fR\&.
-
-.TP
+.RS 4
+Eject any tape in the drive and put it away, then load the tape from the first slot and reset
+\fIcurrent\fR\.
+.RE
+.PP
 \fBslot last\fR
-Eject any tape in the drive and put it away, then load the tape from the last slot and reset \fBcurrent\fR\&.
-
-.TP
+.RS 4
+Eject any tape in the drive and put it away, then load the tape from the last slot and reset
+\fIcurrent\fR\.
+.RE
+.PP
 \fBslot advance\fR
-Eject any tape in the drive and put it away\&. Advance \fBcurrent\fR to the next tape, but do not load it\&.
-
+.RS 4
+Eject any tape in the drive and put it away\. Advance
+\fIcurrent\fR
+to the next tape, but do not load it\.
+.RE
+.PP
+\fB\-o\fR \fIconfigoption\fR
+.RS 4
+See the "\fBCONFIGURATION OVERRIDE\fR" section in
+\fBamanda\fR(8)\.
+.RE
 .PP
-This is useful with non\-gravity stackers to unload the last tape used and set up \fBAMANDA\fR for the next run\&. If you just use \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 \fBslot next\fR followed by \fBeject\fR does an unnecessary mount\&.
-
+This is useful with non\-gravity stackers to unload the last tape used and set up
+\fIAmanda\fR
+for the next run\. If you just use
+\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
+\fBslot next\fR
+followed by
+\fBeject\fR
+does an unnecessary mount\.
 .PP
-Note: most changers optimize the \fBslot\fR commands to not eject the loaded tape if it is the one being requested\&.
-
+Note: most changers optimize the
+\fBslot\fR
+commands to not eject the loaded tape if it is the one being requested\.
 .SH "AUTHOR"
-
 .PP
-James da Silva, <jds@amanda\&.org> : Original text
-
+James da Silva,
+<jds@amanda\.org>
+: Original text
 .PP
-Stefan G\&. Weichinger, <sgw@amanda\&.org>, maintainer of the \fBAMANDA\fR\-documentation: XML\-conversion
-
+Stefan G\. Weichinger,
+<sgw@amanda\.org>, maintainer of the
+\fIAmanda\fR\-documentation: XML\-conversion
 .SH "SEE ALSO"
-
 .PP
-\fBamanda\fR(8)
-
+\fBamanda\fR(8),
+: http://wiki.zmanda.com