X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=example%2Fchg-mcutil.conf.in;fp=example%2Fchg-mcutil.conf.in;h=0000000000000000000000000000000000000000;hb=fd48f3e498442f0cbff5f3606c7c403d0566150e;hp=d16effd9c1bf76ac374d197511886af170e3d8cb;hpb=96f35b20267e8b1a1c846d476f27fcd330e0b018;p=debian%2Famanda diff --git a/example/chg-mcutil.conf.in b/example/chg-mcutil.conf.in deleted file mode 100644 index d16effd..0000000 --- a/example/chg-mcutil.conf.in +++ /dev/null @@ -1,66 +0,0 @@ -# config file for the chg-mcutil tape changer program. -# Used when tpchanger "chg-mcutil" is specified in amanda.conf. - -# chg-mcutil is mainly designed for use with Compaq TRU64. -# chg-mcutil uses a binary program called `mcutil`, a Media -# changer manipulation utility. mcutil comes installed with -# TRU64 5.0x & above. However, with TRU64 4.0x, it can be -# located on one of the Associated Product CDs. - -# A few OS commands that this script relies on to function -# correctly. Please make sure they exist, and are in the -# $PATH: -# -# date, cut, tr, cat, expr, grep, awk -# - -# Before you can use chg-mcutil within amanda, you need -# to make sure that `mcutil` can see, and interact with your -# tape changer. You need to be able to successfully run the -# following: -# -# mcutil -e drive -# mcutil -e slot -# mcutil -m drive slot:# -# mcutil -m slot:# drive -# - -mcutil @MCUTIL@ #location of the mcutil program -tape @EXAMPLE_TAPEDEV@ # use ntape for norewind - # {a|m|h|c} suffixes should NOT - # be tape device since they all - # implement hardware compression - -# What are the slot numbers of the tape changer as reported by mcutil? -firstslot 0 -lastslot 6 - -# Do you want amanda to determine when you should clean the tape drive? -use_cleaning 0 # 0 for yes ; 1 for no -cleanslot 7 # slot containing the cleaning disk -cleansleep 300 # How long to wait before the cleaning tape finishes (default: 5 min) -cleanme 45 # number of days before messages popup to clean tape drive -cleanfile @CONFIG_DIR@/changer/times_cleaned -lastfile @CONFIG_DIR@/changer/last_cleaned - -# Names a status file where the current 'changer' state is stored. -currentslot @CONFIG_DIR@/changer/currentslot - -# Where to log changer debugging info -logfile @AMANDA_DBGDIR@/changer.debug - - -# To determine what slot is currently used, I query the drive itself. -# /sbin/mcutil -e drive -# With a Tape : drive 0 [full,access,source=256] 16 -# Without Tape: drive 0 [empty,access] 16 -# -# each slot has a source number assigned to it. I subtract slot 0's source num from the output. -# If the number is less than 0, no tape is in the drive, else it outputs the current slot number. -# -# slot 0 [full,access,source=256] 256 -# slot 1 [full,access,source=257] 257 -# slot 2 [full,access,source=258] 258 -# slot 3 [full,access,source=259] 259 -# -slot0source 256 # run /sbin/mcutil -e slot to determine slot0 source number.