AMLABEL - Online Linux Manual PageSection : 8
Updated : 12/01/2017
Source : Amanda 3.5.1
Note : System Administration Commands
NAMEamlabel − label an Amanda tape
SYNOPSISamlabel [−−barcode barcode] [−−meta meta−label] [−−pool pool] [−−storage storage] [−−assign] [−f] [−−version] [−o configoption...] config [label] [slot slot]
DESCRIPTIONThis command applies a label to an Amanda volume, erasing the volume in the process. Amanda uses labels to identify volumes: amdump(8) and amflush(8) verify the label before writing to make sure the proper volume is loaded, and the recovery programs use the label to ensure they are reading the data they expect. If no [slot] and no [barcode] is given, then amlabel labels the tape in the current slot of the default changer. If a slot is given, it labels the volume in that slot. If a barcode is given, it labels the volume with that barcode. Label may be any string that does not contain whitespace and that matches the labelstr (see amanda.conf(5)). If [label] is not given, an autolabel is generated, see autolabel in amanda.conf(5). If [−−assign] is given, the label is interpretad as an expression and the barcode, meta−label, pool, storage and config are assigned to all labels matching the expression, the volumes are not labelled. The labels must already be in the tapelist file. This command also appends the new volume to the tapelist(5) file, so that they will be used in the order they are labeled (depending on the taperscan in use — see amanda-taperscan(7)). As a precaution, amlabel will not write a label if the volume already contains an active label or if the label specified is on an active tape. The [−f] (force) flag bypasses these verifications.
OPTIONS−−barcode barcode With [−−assign], assign the barcode to the label. Without [−−assign], label the volume with that barcode. −−meta meta−label Assign the meta label to the label after labeling the volume. −−pool pool Assign the pool to the label after labeling the volume. −−storage storage Assign the storage to the label, it can only be used with −−assign, you can't assign a storage to a new labelled volume. −−assign Assign the barcode or meta−label to the label without labeling the volume. The label must already be in the tapelist file. −f Force the label operation; see above −−version Output version information −o configoption See the "CONFIGURATION OVERRIDE" section in amanda(8).
EXAMPLEWrite an Amanda label with the string "DMP000" on the current volume: % amlabel daily DMP000 Label the tape in slot 3 of the changer with the label "DMP003": % amlabel daily DMP003 slot 3
MESSAGESLabel 'label' doesn't match labelstr 'labelstr' The given label does not match the configured labelstr. Even with −f, this is an error. Label 'label' already on a volume The given label is already on another volume in the tapelist, and Amanda will not write it to this volume unless forced. Found label 'label', but it is not from configuration config. The label amlabel found on the volume does not match this configuration's labelstr, so it is probably part of a different Amanda configuration. Amanda will not overwrite the label unless it is forced. Volume with label 'label' contains data from this configuration. The label amlabel found on the volume still has valid data on it and Amanda will not overwrite it unless forced. Note that this does not distinguish between active and inactive volumes.
SEE ALSOamanda(8), amanda.conf(5), tapelist(5), amanda-taperscan(7), amdump(8), amflush(8) The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORSJames da Silva <jds@amanda.org> Stefan G. Weichinger <sgw@amanda.org> Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) 0
Johanes Gumabo
Data Size : 20,990 byte
man-amlabel.8Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 238,151
Visitor ID : :
Visitor IP : 18.189.170.65 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.