1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
10 .de Sp \" Vertical space (when we can't use .PP)
16 .ie \\n(.$>=3 .ne \\$3
20 .TH "AMLABEL" 8 "" "" ""
22 amlabel - label an Amanda tape
25 \fBamlabel\fR [-f] \fIconfig\fR \fIlabel\fR [slot \fIslot\fR] [-o \fIconfigoption\fR]*
31 tapes must be pre-labeled before they are used.
37 before writing to make sure the proper tape is loaded.
42 label on the tape in the device specified by the
44 file in /usr/local/etc/amanda/\fBconfig\fR.
46 may be any string that does not contain whitespace and that matches the
47 \fBamanda.conf\fR\fBlabelstr\fR
48 regular expression option. It is up to the system administrator to define a naming convention.
51 appends the new tape to the
53 file so it will be used by
55 before it reuses any other tapes. When you
57 multiple tapes, they will be used in the order you
62 will not write the label if the tape contains an active
64 tape or if the label specified is on an active tape. The
66 (force) flag bypasses these verifications.
70 may be specified after the tape label. If a tape changer is in use,
72 will label the tape in the specified slot instead of the currently loaded tape.
76 man page for more details about
80 \fB-o\fR \fIconfigoption\fR
81 See the "\fBCONFIGURATION OVERWRITE\fR" section in
87 label with the string "DMP000" on the tape loaded in the device named in the
89 option in /usr/local/etc/amanda/daily/amanda.conf:
92 % amlabel daily DMP000
95 Label the tape in slot 3 of the currently configured tape changer with the string "DMP003":
98 % amlabel daily DMP003 slot 3
102 label \fBlabel\fR doesn't match labelstr \fBstr\fR
105 on the command line does not match the
112 label \fBlabel\fR already on a tape
115 is already listed as an active
119 no tpchanger specified in \fBpath\fR , so slot command invalid
120 The command line has the
126 does not have a tape changer configured.
128 reading label \fBlabel\fR, tape is in another amanda configuration
129 This tape appears to be a valid
131 tape, but label does not match
133 for this configuration so it is probably part of a different
137 reading label \fBlabel\fR, tape is active
140 appears to already be part of this
142 configuration and active, i.e. has valid data on it.
144 no label found, are you sure \fBtape\fR is non-rewinding?
145 While checking that the label was written correctly,
147 got an error that might be caused by mis-configuring
149 with a rewinding tape device name instead of a non-rewinding device name for
154 <jds@amanda.org>: Original text
156 Stefan G. Weichinger,
157 <sgw@amanda.org>, maintainer of the
158 \fBAmanda\fR-documentation: XML-conversion
161 \fBamanda\fR(8)\fBamdump\fR(8)\fBamflush\fR(8)