1AMLABEL(8)              System Administration Commands              AMLABEL(8)
2
3
4

NAME

6       amlabel - label an Amanda tape
7

SYNOPSIS

9       amlabel [--barcode barcode] [--meta meta-label] [--assign] [-f]
10               [--version] [-o configoption...] config [label] [slot slot]
11

DESCRIPTION

13       This command applies a label to an Amanda volume, erasing the volume in
14       the process.
15
16       Amanda uses labels to identify volumes: amdump(8) and amflush(8) verify
17       the label before writing to make sure the proper volume is loaded, and
18       the recovery programs use the label to ensure they are reading the data
19       they expect.
20
21       If no [slot] and no [barcode] is given, then amlabel labels the tape in
22       the current slot of the default changer. If a slot is given, it labels
23       the volume in that slot. If a barcode is given, it labels the volume
24       with that barcode.  Label may be any string that does not contain
25       whitespace and that matches the labelstr (see amanda.conf(5)).
26
27       If [label] is not given, an autolabel is generated, see autolabel in
28       amanda.conf(5).
29
30       If [--assign] is given, the barcode and meta-label are assigned to the
31       label without labeling the volume. The label must already be in the
32       tapelist file.
33
34       This command also appends the new volume to the tapelist(5) file, so
35       that they will be used in the order they are labeled (depending on the
36       taperscan in use — see amanda-taperscan(7)).
37
38       As a precaution, amlabel will not write a label if the volume already
39       contains an active label or if the label specified is on an active
40       tape. The [-f] (force) flag bypasses these verifications.
41

OPTIONS

43       --barcode barcode
44           With [--assign], assign the barcode to the label. Without
45           [--assign], label the volume with that barcode.
46
47       --meta meta-label
48           Assign the meta label to the label after labeling the volume.
49
50       --assign
51           Assign the barcode or meta-label to the label without labeling the
52           volume. The label must already be in the tapelist file.
53
54       -f
55           Force the label operation; see above
56
57       --version
58           Output version information
59
60       -o configoption
61           See the "CONFIGURATION OVERRIDE" section in amanda(8).
62

EXAMPLE

64       Write an Amanda label with the string "DMP000" on the current volume:
65       % amlabel daily DMP000
66
67       Label the tape in slot 3 of the changer with the label "DMP003":
68       % amlabel daily DMP003 slot 3
69

MESSAGES

71       Label 'label' doesn't match labelstr 'labelstr'
72           The given label does not match the configured labelstr. Even with
73           -f, this is an error.
74
75       Label 'label' already on a volume
76           The given label is already on another volume in the tapelist, and
77           Amanda will not write it to this volume unless forced.
78
79       Found label 'label', but it is not from configuration config.
80           The label amlabel found on the volume does not match this
81           configuration's labelstr, so it is probably part of a different
82           Amanda configuration. Amanda will not overwrite the label unless it
83           is forced.
84
85       Volume with label 'label' contains data from this configuration.
86           The label amlabel found on the volume still has valid data on it
87           and Amanda will not overwrite it unless forced. Note that this does
88           not distinguish between active and inactive volumes.
89

SEE ALSO

91       amanda(8), amanda.conf(5), tapelist(5), amanda-taperscan(7), amdump(8),
92       amflush(8)
93
94       The Amanda Wiki: : http://wiki.zmanda.com/
95

AUTHORS

97       James da Silva <jds@amanda.org>
98
99       Stefan G. Weichinger <sgw@amanda.org>
100
101       Dustin J. Mitchell <dustin@zmanda.com>
102           Zmanda, Inc. (http://www.zmanda.com)
103
104
105
106Amanda 3.3.3                      01/10/2013                        AMLABEL(8)
Impressum