Hi all!

I have problems setting up amanda-2.4.2p2 to work with my HP SureStore
Tape Autoloader (Model C7149CB). I am using SuSE 7.3 with Upgrade-Kernel
2.4.16-64GB-SMP from SuSE.

The Autoloader is connected to a ICP Vortex Controller and works fine
with the mtx command (so I have hope to get it flying with amanda).

This is the current status provided by amcheck:

# su - amanda -c "/usr/local/amanda/sbin/amcheck test"
Amanda Tape Server Host Check
-----------------------------
amcheck-server: slot 0: reading label: Cannot allocate memory
amcheck-server: slot 1: reading label: Cannot allocate memory
amcheck-server: slot 2: reading label: Cannot allocate memory
amcheck-server: slot 3: reading label: Cannot allocate memory
amcheck-server: slot 4: reading label: Cannot allocate memory
amcheck-server: slot 5: reading label: Cannot allocate memory
amcheck-server: slot 6: reading label: Cannot allocate memory
amcheck-server: slot 7: reading label: Cannot allocate memory
amcheck-server: fatal slot <error>: <error> could not read result from
"/usr/local/amanda/libexec/chg-scsi" (got signal 11)
ERROR: new tape not found in rack
       (expecting a new tape)
NOTE: skipping tape-writable test
Server check took 1013.850 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 0 hosts checked in 0.009 seconds, 0 problems found

(brought to you by Amanda 2.4.2p2)

What did I do wrong? I expected a neat output like the one from mtx with
barcode labels etc.

This is my amanda.conf:
----8<----
org "test"              # your organization name for reports
mailto "amanda"         # space separated list of operators at your site
dumpuser "amanda"       # the user to run dumps under

[...] # default values, not listed 

runtape_ 1              # number of tapes to be used in a single run of
tpchanger "chg-scsi"    # the tape-changer glue script
tapedev "0"     # the no-rewind tape device to be used
changerfile "/var/lib/amanda/test/chg-scsi-linux.conf"

tapetype HP-DAT         # what kind of tape it is (see tapetypes below)
labelstr "^AW"  # label constraint regex: all tapes must match

infofile "/var/lib/amanda/test/curinfo" # database DIRECTORY
logdir   "/var/lib/amanda/test"         # log directory
indexdir "/var/lib/amanda/test/index"   # index directory
----8<----

This is file "/var/lib/amanda/test/chg-scsi-linux.conf":

----8<----
number_configs  1
eject           1       # Tapedrives need an eject command
sleep           90      # Seconds to wait until the tape gets ready
cleanmax        100     # How many times could a cleaning tape get used
changerdev      /dev/sg1
#
# Next comes the data for drive 0
#
config          0
drivenum        0
dev             /dev/nst0
scsitapedev     /dev/sg1
startuse        0       # The slots associated with the drive 0
enduse          8       # 
statfile        /var/lib/amanda/test/tape0-slot  # The file where the
cleancart       8       # the slot where the cleaningcartridge for drive
cleanfile       /var/lib/amanda/test/tape0-clean # The file where the
usagecount      /var/lib/amanda/test/totaltime
tapestatus      /var/lib/amanda/test/tapestatus # here will some status
labelfile       /var/lib/amanda/test/labelfile # Use this if you have an
----8<----

Beside this configuration issue I also wonder if someone has already
created a definition for those fancy 200GB-Tapes used by the Autoloader.

with kind regards 
Andreas Rother
Systemadministration
-- 
Imperia AG      
Leyboldstr. 10
50354 H�rth

Tel./Fax: +49 2233 807-263 / -100
E-Mail: [EMAIL PROTECTED]
http://www.imperia.net

Attachment: msg09389/pgp00000.pgp
Description: PGP signature

Reply via email to