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 [\fIslot\fRĀ \fIslot\fR]
30 tapes must be pre-labeled before they are used.
36 before writing to make sure the proper tape is loaded.
41 label on the tape in the device specified by the
43 file in /usr/local/etc/amanda/\fBconfig\fR.
45 may be any string that does not contain whitespace and that matches the
46 \fBamanda.conf\fR\fBlabelstr\fR
47 regular expression option. It is up to the system administrator to define a naming convention.
50 appends the new tape to the
52 file so it will be used by
54 before it reuses any other tapes. When you
56 multiple tapes, they will be used in the order you
61 will not write the label if the tape contains an active
63 tape or if the label specified is on an active tape. The
65 (force) flag bypasses these verifications.
69 may be specified after the tape label. If a tape changer is in use,
71 will label the tape in the specified slot instead of the currently loaded tape.
75 man page for more details about
81 label with the string "DMP000" on the tape loaded in the device named in the
83 option in /usr/local/etc/amanda/daily/amanda.conf:
86 % amlabel daily DMP000
89 Label the tape in slot 3 of the currently configured tape changer with the string "DMP003":
92 % amlabel daily DMP003 slot 3
96 label \fBlabel\fR doesn't match labelstr \fBstr\fR
99 on the command line does not match the
106 label \fBlabel\fR already on a tape
109 is already listed as an active
113 no tpchanger specified in \fBpath\fR , so slot command invalid
114 The command line has the
120 does not have a tape changer configured.
122 reading label \fBlabel\fR, tape is in another amanda configuration
123 This tape appears to be a valid
125 tape, but label does not match
127 for this configuration so it is probably part of a different
131 reading label \fBlabel\fR, tape is active
134 appears to already be part of this
136 configuration and active, i.e. has valid data on it.
138 no label found, are you sure \fBtape\fR is non-rewinding?
139 While checking that the label was written correctly,
141 got an error that might be caused by mis-configuring
143 with a rewinding tape device name instead of a non-rewinding device name for
148 <jds@amanda.org>: Original text
150 Stefan G. Weichinger,
151 <sgw@amanda.org>, maintainer of the
152 \fBAmanda\fR-documentation: XML-conversion
155 \fBamanda\fR(8)\fBamdump\fR(8)\fBamflush\fR(8)