Hi.   I moved my tape drive from one machine to another, and I upgraded
from 2.4.1 to 2.4.2p2 and I have problems with mtx.

truk!backup 11# amcheck -s daily
Amanda Tape Server Host Check
-----------------------------
WARNING: holding disk /bkup: only 46879560 KB free (65536000 KB requested)
amcheck-server: slot 6: not an amanda tape
amcheck-server: fatal slot 7: Unloading Data Transfer Element into Storage
Element 6...mtx: Request S
ense: Long Report=yes
ERROR: label daily-046 or new tape not found in rack
       (expecting tape daily-046 or a new tape)
NOTE: skipping tape-writable test
NOTE: info dir /usr/local/share/amanda/curinfo/umtanum/_: does not exist
WARNING: info file /usr/local/share/amanda/curinfo/spinoza/__iona_C/info:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/spinoza/__kauai_C: does not
exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__dosbox_C:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__beagle2_C:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__hbfd_D: does
not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__hbfd_C: does
not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__ach_F: does
not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__ach_E: does
not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__ach_D: does
not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__blake-pc_C:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__video-pc_F:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__video-pc_E:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__video-pc_D:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/tropomyosin/__video-pc_C:
does not exist
NOTE: info dir /usr/local/share/amanda/curinfo/truk/__bikini_C: does not
exist
WARNING: info file /usr/local/share/amanda/curinfo/truk/__tasmania_D/info:
does not exist
WARNING: info file /usr/local/share/amanda/curinfo/truk/__tasmania_C/info:
does not exist
Server check took 8.073 seconds

(brought to you by Amanda 2.4.2p2)


truk!backup 7# /usr/local/pkgs/amanda-2.4.2p2/libexec/chg-zd-mtx-2.4.2p2
-info
/usr/local/pkgs/amanda-2.4.2p2/libexec/chg-zd-mtx-2.4.2p2: [: : integer
expression expected
/usr/local/pkgs/amanda-2.4.2p2/libexec/chg-zd-mtx-2.4.2p2: [: -lt: unary
operator expected
 22 1
truk!backup 8#
truk!backup 8# mtx -f /dev/tape-changer status
  Storage Changer /dev/tape-changer:1 Drives, 23 Slots ( 1 Import/Export )
Data Transfer Element 0:Empty
      Storage Element 1:Full
      Storage Element 2:Full
      Storage Element 3:Full
      Storage Element 4:Full
      Storage Element 5:Full
      Storage Element 6:Full
      Storage Element 7:Full
      Storage Element 8:Full
      Storage Element 9:Full
      Storage Element 10:Full
      Storage Element 11:Full
      Storage Element 12:Full
      Storage Element 13:Full
      Storage Element 14:Full
      Storage Element 15:Full
      Storage Element 16:Full
      Storage Element 17:Full
      Storage Element 18:Full
      Storage Element 19:Full
      Storage Element 20:Full
      Storage Element 21:Full
      Storage Element 22:Full
      Storage Element 23 IMPORT/EXPORT:Full
truk!backup 9#

Any suggestions?


My amanda.conf file is:
org "RCS Backup System" # your organization name for reports
mailto "admin"          # space separated list of operators at your site
dumpuser "backup"       # the user to run dumps under
inparallel 4            # maximum dumpers that will run in parallel
netusage  8000 Kbps     # maximum net bandwidth for Amanda, in KB per
second
                        # increased from 1800 Kbps 2000-10-29 JHS
                        # increased from 5000 Kbps to 8000 Kbps 2001-06-29
JHS
# See http://www.backupcentral.com/amanda-10.html for details.
dumpcycle 14 days       # the number of days in the normal dump cycle
runspercycle 14         # the number of amdump runs in dumpcycle days
                        # (2 weeks * 7 amdump runs per week )
tapecycle 45 tapes      # the number of tapes in rotation
                        # Then, I changed it to 50 because that's how many
tapes I have.
                        # Keep 22 tapes in the changer, at least 14 of
which are recent backups
                        # Not more than 8 of which are old tapes to be
backed up
                        # The remaining 28 tapes are off site backup, or 6
weeks of archival storage
# WARNING: don't use `inf' for tapecycle, it's broken!

bumpsize 20 Mb          # minimum savings (threshold) to bump level 1 -> 2
bumpdays 1              # minimum days at each level
bumpmult 4              # threshold = bumpsize * bumpmult^(level-1)

etimeout 10800          # number of seconds per filesystem for estimates.
                        # increased from 2400 seconds 2000-12-22 because
spinoza
                        # keeps timing out.
                        # Changed from 3600 (1 hour) to 10800 (3 hours)
because
                        # spinoza still keeps timing out.
# dtimeout 3600         # Data timeout, added 2001-07-25 because spinoza
times out, still
runtapes 2              # The maximum number of tapes used in a single
run. (was 1, increased 20000902 /JHS)

tpchanger "chg-zd-mtx"
tapedev "/dev/nst0"
changerfile "/usr/local/etc/amanda/changer"
changerdev "/dev/sg1"
diskfile "/usr/local/etc/amanda/daily/disklist"
tapelist "/usr/local/etc/amanda/daily/tapelist"

tapetype DLT
labelstr "^daily-[0-9][0-9][0-9]*$"

infofile "/usr/local/share/amanda/curinfo"      # database DIRECTORY
logdir   "/usr/local/share/amanda/logs"         # log directory
indexdir "/usr/local/share/amanda/index"        # index directory

includefile "/usr/local/etc/amanda/holding-disk.conf"
includefile "/usr/local/etc/amanda/tapetypes.conf"
includefile "/usr/local/etc/amanda/dumptypes.conf"
includefile "/usr/local/etc/amanda/interfaces.conf"



-- 
Jeff Silverman, sysadmin for the Research Computing Systems (RCS)
University of Washington, School of Engineering, Electrical Engineering Dept.
Box 352500, Seattle, WA, 98125-2500 FAX: (206) 221-5264 Phone (206) 221-5394
[EMAIL PROTECTED]     http://rcs.ee.washington.edu/~jeffs

Reply via email to