📄 amtape.8
字号:
.\" Title: amtape.\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>.\" Date: 05/13/2008.\" Manual: .\" Source: .\".TH "AMTAPE" "8" "05/13/2008" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"amtape - user interface to Amanda tape changer controls.SH "SYNOPSIS".HP 7\fBamtape\fR \fIconfig\fR \fIcommand\fR [\fIcommand_options\fR...] [\fB\-o\ \fR\fIconfigoption\fR]....SH "DESCRIPTION".PP\fBAmtape\fRperforms tape changer control operations\. It uses the underlying tape changer script defined by the\fBtpchanger\fRoption for a particular\fIAmanda\fRconfiguration as specified by the\fIconfig\fRargument\..PPTape changers maintain a notion of the\fIcurrent\fRand\fInext\fRslot 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\..PPSee the\fBamanda\fR(8)man page for more details about\fIAmanda\fR\..SH "COMMANDS".PP\fBreset\fR.RS 4Reset the tape changer to a known state\. The\fIcurrent\fRslot is set to the\fIfirst\fRslot\. Other device\-specific side effects may occur\. Some gravity stackers need to be reset to the top position by hand\. This command notifies\fIAmanda\fRthe stacker is back in that position\..RE.PP\fBeject\fR.RS 4If a tape is loaded in the drive, it is ejected and returned to the slot from which it was loaded\..RE.PP\fBclean\fR.RS 4If a cleaning tape is defined for the changer, it is used to clean the drive\..RE.PP\fBshow\fR.RS 4Show the contents of all slots\. This can be slow\..RE.PP\fBlabel\fR \fIlabel\fR.RS 4Search for and load the\fIAmanda\fRtape with label\fIlabel\fR\..RE.PP\fBtaper\fR.RS 4Perform the\fBtaper\fRscan algorithm\. Load the next tape in the configuration\'s tape sequence, or a fresh tape with a suitable label\..RE.PP\fBdevice\fR.RS 4Display the name of the current tape device on\fIstdout\fR\..RE.PP\fBcurrent\fR.RS 4Display the current slot\..RE.PP\fBupdate\fR.RS 4Update the changer label database, if it has one, to match the tapes now available\..RE.PP\fBslot\fR \fIslot\fR.RS 4Eject any tape in the drive and put it away, then load the tape from slot\fIslot\fRand reset\fIcurrent\fR\..RE.PP\fBslot current\fR.RS 4Eject any tape in the drive and put it away, then load the tape from the current slot\..RE.PP\fBslot prev\fR.RS 4Eject 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.RS 4Eject 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.RS 4Eject 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.RS 4Eject 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.RS 4Eject any tape in the drive and put it away\. Advance\fIcurrent\fRto the next tape, but do not load it\..RE.PP\fB\-o\fR \fIconfigoption\fR.RS 4See the "\fBCONFIGURATION OVERRIDE\fR" section in\fBamanda\fR(8)\..RE.PPThis is useful with non\-gravity stackers to unload the last tape used and set up\fIAmanda\fRfor 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\fRfollowed by\fBeject\fRdoes an unnecessary mount\..PPNote: most changers optimize the\fBslot\fRcommands to not eject the loaded tape if it is the one being requested\..SH "AUTHOR".PPJames da Silva,<jds@amanda\.org>: Original text.PPStefan G\. Weichinger,<sgw@amanda\.org>, maintainer of the\fIAmanda\fR\-documentation: XML\-conversion.SH "SEE ALSO".PP\fBamanda\fR(8),\fI\%http://wiki.zmanda.com\fR
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -