Amanda-Users

Another MTX Question:

2003-08-06 16:32:01
Subject: Another MTX Question:
From: "Bruntel, Mitchell L" <mbruntel AT att DOT com>
To: <amanda-users AT amanda DOT org>
Date: Wed, 6 Aug 2003 15:28:27 -0500
OK this is simple stuff, right?
My chg-zd-mtx config file shows:
havereader=1 
BUT 
Following the instructions in the chg-zd-mtx.config file I am testing, and do :
* Run this:
#
#       .../chg-zd-mtx -info
#       echo $?             #### (or "echo $status" if you use csh/tcsh)
I do this: 
sh chg-zd-mtx -info
and I get 
1 79 1        <--missing 4th # here!  

(btw, what is the triple ... refer to? it's been a LONG time since I was in 
class...(;>)  **

#     The fourth number is optional.  If you set $havereader to 1, it
#     will be "1", otherwise it will not be present.
#

(and next step isn't good either... 
sh chg-zd-mtx -reset
Bus Error(coredump)
 echo $?
138


** when I tried without the sh in front of command, it just closed the existing 
window, and couldn't read the results.

--chg-zd-mtx.conf follows:
# Last change 8/6 3:50PM Changed driveslot from 1 to 0, removed extra line in 
definition
# changerdev      /dev/scsi/changer/c1t0d0 # NOT in Roli's file
 firstslot=0                #### First storage slot (element) -- required
 lastslot=81                #### Last storage slot (element) -- required
 cleanslot=0                #### Slot with cleaner tape -- default is "-1"
 autoclean=0                #### Set to '1' or greater to enable
 autocleancount=99          #### Number of access before a clean.
#havereader=1               #### If you have a barcode reader, set to 1.
 havereader=1 
 offline_before_unload=1   #### Does your robot require an mt offline?
 poll_drive_ready=05        #### Time (seconds) between tests to see if drive 
ready
 max_drive_wait=99          #### Maximum time (seconds) to wait for the
 unloadpause=6               #### delay between unloading and putting tape back
 driveslot=0                 #### Drive slot number.  Defaults to the

.. my amanda.conf snippet here:
################################################
# this is from amanda.conf modified for chg-zd-mtx
#
################################################

changerdev      "/dev/scsi/changer/c1t0d0"
tpchanger "chg-zd-mtx"  # the tape-changer glue script
tapedev "/dev/rmt/0n"   # the no-rewind tape device to be used
# note (mb) the  1 refers to config # 1 within scsi.conf
changerfile "/usr/local/etc/amanda/DailySet1/chg-zd-mtx.conf"
#changerfile "/usr/local/etc/amanda/DailySet1/chg-scsi.conf"

I think that's it..

And to think Yesterday, it worked, and today...ugh
Mitch


<Prev in Thread] Current Thread [Next in Thread>