X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=man%2Fxml-source%2Famanda-taperscan.7.xml;h=6c53d4eafa18fd4a6bb61f5f1d90debbd012fe0c;hb=b221e8dc16f345f8c8d7df8df71f4d36daaabb4c;hp=59745ef6c00148f1348644babef410b15a7e2c68;hpb=d5853102f67d85d8e169f9dbe973ad573306c215;p=debian%2Famanda
diff --git a/man/xml-source/amanda-taperscan.7.xml b/man/xml-source/amanda-taperscan.7.xml
index 59745ef..6c53d4e 100644
--- a/man/xml-source/amanda-taperscan.7.xml
+++ b/man/xml-source/amanda-taperscan.7.xml
@@ -43,9 +43,35 @@ remap='B'>taperscan parameter, which has a default value of
+DEFINING A TAPERSCAN
+
+An taperscan is defined in &amconf; as follows:
+
+
+define taperscan $taperscan_name {
+ comment "$comment"
+ plugin "$pluginname"
+ property "$PROPERTY_NAME" "$PROPERTY_VALUE"
+ ...
+}
+
+and then referenced in the global section as
+
+ taperscan "$taperscan_name"
+
+
+Taperscan properties, like Amanda configuration parameters, are
+insensitive to case, and - (dash) and
+_ (underscore) may be used interchangeably.
+
+See the individual plugin documentation below for properties applicable to each
+plugin.
+
+
+
TAPERSCAN ALGORITHMS
-In general, these volumes will only select reusable volumes. These are
+In general, these algorithms will only select reusable volumes. These are
volumes which are listed in the &tapelist; with the reuse
flag, and which are not among the tapecycle-1 most recent
volumes in the list. Put another way, reusable volumes do not contain data
@@ -76,7 +102,7 @@ use.
available in the changer, then the algorithm begins a sequential scan of the
changer, starting at the current slot. It selects the first suitable volume it
finds: a reusable volume (perhaps newly-labeled) or, if
-label_new_tapes is true, a blank volume. Even across
+autolabel includes empty, a blank volume. Even across
multiple invocations (when runtapes > 1), it will not
return the same slot twice.
@@ -93,12 +119,49 @@ algorithms.
+oldest
+
+This algorithm works with the Changer API (see ), using the inventory returned by the
+changer to locate the oldest acceptable volume available. Note that this
+will not work with changers that do not support inventory (old
+changers). The algorithms scans
+unknown slots only if no known usable volume is found in the inventory.
+
+An acceptable volume is a reusable volume, a new labeled volume or an
+unlabeled volume that can be labeled according to autolabel.
+Note that changers do not always know the contents of every slot - for
+example, a tape with an unknown barcode will not be considered usable.
+
+Use amtape CONF inventory to see the changer's inventory, and use
+amtape CONF update to update it.
+
+
+
+lexical
+
+This algorithm also works with the Changer API, using the inventory to
+determine the acceptable volumes; it then uses the volume which follows the
+last-used volume in lexical order. For volume labels containing leading
+zeros, e.g., CORP-010, this algorithm will run through
+the volumes in the natural order.
+
+It scans unknown slots only if no usable volume
+is found in the inventory.
+
+See oldest, above, for a definition of acceptable
+volumes.
+
+>>>>>>> 6a40a39... manpage edits
+
+
,
,
,
+,