Amanda-Users

Re: Error received on amcheck. Config problem assistance please....

2002-11-07 19:20:34
Subject: Re: Error received on amcheck. Config problem assistance please....
From: Frank Smith <fsmith AT hoovers DOT com>
To: Gustave Eiffel <gustave AT 3web DOT net>, amanda-users AT amanda DOT org
Date: Thu, 07 Nov 2002 17:46:41 -0600
--On Thursday, November 07, 2002 15:08:01 -0700 Gustave Eiffel <gustave AT 3web 
DOT net> wrote:

I have tried many things, so I am really hoping some people can help me out..

On RedHat 8 Linux
amanda 2.4.2p2-9
mtx-1.2.16-5
Qualstar Library (robot) /dev/sg/h0c0t0l0
2 tape drives: /dev/st/nh0c0t1l0 & /dev/st/nh0c0t2l0

When I run this command:  sudo -u amanda amcheck DailySet1/ ( run as the amanda
user)

I get this output error:
Amanda Tape Server Host Check
-----------------------------
Holding disk /var/tmp: 2872580 KB disk space available, that's plenty
amcheck-server: slot 1: reading label: Input/output error
amcheck-server: fatal slot /usr/lib/amanda/chg-zd-mtx:: line 253: [: too many
arguments

Check the values of the variables being passed to the test operator in line
253 of /usr/lib/amanda/chg-zd-mtx.

ERROR: new tape not found in rack
       (expecting a new tape)
NOTE: skipping tape-writable test
NOTE: info dir /var/lib/amanda/DailySet1/curinfo: does not exist
NOTE: it will be created on the next run
NOTE: index dir /var/lib/amanda/DailySet1/index/localhost: does not exist
Server check took 334.347 seconds

Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.018 seconds, 0 problems found

(brought to you by Amanda 2.4.2p2)






What can I check?  Where do those files ( the not found ones) come from?

Don't worry about files missing in NOTES:, they will be created when Amanda
runs.


Here are my configs:
In my /etc/amanda/DailySet1 directory I have these files:

amanda.conf
changer.conf
disklist

Here is my amanda.conf (usefull parts)
runtapes 1              # number of tapes to be used in a single run of amdump
tpchanger "chg-zd-mtx"  # the tape-changer glue script
tapedev "/dev/st/nh0c0t1l0"     # the no-rewind tape device to be used
# rawtapedev "/dev/null" # the raw device to be used (ftape only)
changerfile "/etc/amanda/DailySet1/changer"
# changerfile "/var/lib/amanda/DailySet1/changer-status"
# changerfile "/etc/amanda/DailySet1/changer.conf"
changerdev "/dev/sg/h0c0t0l0"

# tapetype DLT8000-40            # what kind of tape it is (see tapetypes below)
tapetype DLT            # what kind of tape it is (see tapetypes below)
labelstr "^DailySet1[0-9][0-9]*$"       # label constraint regex: all tapes must
match


Here is my changer.conf ( this is the whole thing )
firstslot=1                 #### First storage slot (element) -- required
lastslot=30               #### Last storage slot (element) -- required
cleanslot=6               #### Slot with cleaner tape -- default is "-1"
#                           #### Set negative to indicate no cleaner available
#
#   # Do you want to clean the drive after a certain number of accesses?
#   # NOTE - This is unreliable, since 'accesses' aren't 'uses', and we
#   #        have no reliable way to count this.  A single amcheck could
#   #        generate as many accesses as slots you have, plus 1.
#   # ALSO NOTE - many modern tape loaders handle this automatically.
#
autoclean=1                 #### 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.
#
offline_before_unload=1   #### Does your robot require an


and my disklist
localhost /etc comp-root-tar



What tests can I run?  mtx tests?  mt tests?

Possibly try the chg-qs-mtx I sent you.

Frank


All help or suggestions appreciated.

Thanks

Mark



--
Frank Smith                                                fsmith AT hoovers 
DOT com
Systems Administrator                                     Voice: 512-374-4673
Hoover's Online                                             Fax: 512-374-4501

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