1AMLABEL(8) System Administration Commands AMLABEL(8)
2
3
4
6 amlabel - label an Amanda tape
7
9 amlabel config label [slot slot] [-f] [--version]
10 [{-o configoption}...]
11
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] is given, then amlabel labels the tape in the current slot
22 of the default changer. If a slot is given, it labels the volume in
23 that slot. Label may be any string that does not contain whitespace
24 and that matches the labelstr (see amanda.conf(5)).
25
26 This command also appends the new volume to the tapelist(5) file, so
27 that they will be used in the order they are labeled (depending on the
28 taperscan in use — see amanda-taperscan(7)).
29
30 As a precaution, amlabel will not write a label if the volume already
31 contains an active label or if the label specified is on an active
32 tape. The [-f] (force) flag bypasses these verifications.
33
35 -f
36 Force the label operation; see above
37
38 --version
39 Output version information
40
41 -o configoption
42 See the "CONFIGURATION OVERRIDE" section in amanda(8).
43
45 Write an Amanda label with the string "DMP000" on the current volume:
46 % amlabel daily DMP000
47
48 Label the tape in slot 3 of the changer with the label "DMP003":
49 % amlabel daily DMP003 slot 3
50
52 Label ´label´ doesn´t match labelstr ´labelstr´
53 The given label does not match the configured labelstr. Even with
54 -f, this is an error.
55
56 Label ´label´ already on a volume
57 The given label is already on another volume in the tapelist, and
58 Amanda will not write it to this volume unless forced.
59
60 Found label ´label´, but it is not from configuration config.
61 The label amlabel found on the volume does not match this
62 configuration´s labelstr, so it is probably part of a different
63 Amanda configuration. Amanda will not overwrite the label unless it
64 is forced.
65
66 Volume with label ´label´ contains data from this configuration.
67 The label amlabel found on the volume still has valid data on it
68 and Amanda will not overwrite it unless forced. Note that this does
69 not distinguish between active and inactive volumes.
70
72 amanda(8), amanda.conf(5), tapelist(5), amanda-taperscan(7), amdump(8),
73 amflush(8)
74
75 The Amanda Wiki: : http://wiki.zmanda.com/
76
78 James da Silva <jds@amanda.org>
79
80 Stefan G. Weichinger <sgw@amanda.org>
81
82 Dustin J. Mitchell <dustin@zmanda.com>
83 Zmanda, Inc. (http://www.zmanda.com)
84
85
86
87Amanda 3.1.3 10/04/2010 AMLABEL(8)