Hello fellow amanda users,

I've had amanda up and running successfully for quite a while
with several flavours of RedHat linux, however I recently added
another RedHat 7.0 client to the mix, and I have an interesting problem.
If I have no entries in the clients /etc/dumpdates file, the amanda server will do a 
level 0
backup of the client, as it well should. However, after an entry is written to 
/etc/dumpdates
then the client consistently times out when "sendsize" is executed.


Sendsize.debug after a successfull level 0 backup
########
sendsize: debug 1 pid 30716 ruid 504 euid 504 start time Wed Jul  4 00:30:10 2001
/usr/local/libexec/sendsize: version 2.4.2p1
calculating for amname '/dev/hda6', dirname '/dev/hda6'
sendsize: getting size via dump for /dev/hda6 level 0
sendsize: running "/sbin/dump 0Ssf 1048576 - /dev/hda6"
running /usr/local/libexec/killpgrp
1049170944
.....
asking killpgrp to terminate
sendsize: getting size via dump for /dev/hda6 level 1
sendsize: running "/sbin/dump 1Ssf 1048576 - /dev/hda6"
running /usr/local/libexec/killpgrp
  DUMP: WARNING: There is no inferior level dump on this filesystem
  DUMP: WARNING: Assuming a level 0 dump by default
1049183232
.....
asking killpgrp to terminate
sendsize: pid 30716 finish time Wed Jul  4 00:35:10 2001
#########

interesting DUMP warnings.... 


Sendsize.debug the next day
#############
sendsize: debug 1 pid 5384 ruid 504 euid 504 start time Thu Jul  5 01:30:11 2001
/usr/local/libexec/sendsize: version 2.4.2p1
calculating for amname '/dev/hda6', dirname '/dev/hda6'
sendsize: getting size via dump for /dev/hda6 level 0
sendsize: running "/sbin/dump 0Ssf 1048576 - /dev/hda6"
running /usr/local/libexec/killpgrp
1056956416
.....
asking killpgrp to terminate
sendsize: getting size via dump for /dev/hda6 level 1
sendsize: running "/sbin/dump 1Ssf 1048576 - /dev/hda6"
running /usr/local/libexec/killpgrp
43502592
.....
asking killpgrp to terminate
sendsize: pid 5384 finish time Thu Jul  5 01:35:32 2001
##########


Amandad.debug from client
###########
amandad: debug 1 pid 5383 ruid 504 euid 504 start time Thu Jul  5 01:30:11 2001
amandad: version 2.4.2p1
amandad: build: VERSION="Amanda-2.4.2p1"
amandad:        BUILT_DATE="Fri Jun 15 12:59:38 PDT 2001"
amandad:        BUILT_MACH="Linux client 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 
i686 unknown"
amandad:        CC="gcc"
amandad: paths: bindir="/usr/local/bin" sbindir="/usr/local/sbin"
amandad:        libexecdir="/usr/local/libexec" mandir="/usr/local/man"
amandad:        AMANDA_TMPDIR="/tmp/amanda" AMANDA_DBGDIR="/tmp/amanda"
amandad:        CONFIG_DIR="/usr/local/etc/amanda" DEV_PREFIX="/dev/"
amandad:        RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad:        RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad:        GNUTAR="/bin/gtar" COMPRESS_PATH="/bin/gzip"
amandad:        UNCOMPRESS_PATH="/bin/gzip" MAILER="/usr/bin/Mail"
amandad:        listed_incr_dir="/usr/local/var/amanda/gnutar-lists"
amandad: defs:  DEFAULT_SERVER="client"
amandad:        DEFAULT_CONFIG="DailySet1"
amandad:        DEFAULT_TAPE_SERVER="client"
amandad:        DEFAULT_TAPE_DEVICE="/dev/null" HAVE_MMAP HAVE_SYSVSHM
amandad:        LOCKING=POSIX_FCNTL SETPGRP_VOID DEBUG_CODE BSD_SECURITY
amandad:        USE_AMANDAHOSTS CLIENT_LOGIN="amanda" FORCE_USERID HAVE_GZIP
amandad:        COMPRESS_SUFFIX=".gz" COMPRESS_FAST_OPT="--fast"
amandad:        COMPRESS_BEST_OPT="--best" UNCOMPRESS_OPT="-dc"
got packet:
--------
Amanda 2.4 REQ HANDLE 001-C8760708 SEQ 994318201
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=1;hostname=client;
DUMP /dev/hda6 0 1970:1:1:0:0:0 -1
DUMP /dev/hda6 1 2001:7:4:7:35:10 -1
--------

sending ack:
----
Amanda 2.4 ACK HANDLE 001-C8760708 SEQ 994318201
----

bsd security: remote host ahost user amanda local user amanda
amandahosts security check passed
amandad: running service "/usr/local/libexec/sendsize"
amandad: sending REP packet:
----
Amanda 2.4 REP HANDLE 001-C8760708 SEQ 994318201
OPTIONS maxdumps=1;
/dev/hda6 0 SIZE 1032184
/dev/hda6 1 SIZE 42483
----

amandad: waiting for ack: Connection refused, retrying
amandad: waiting for ack: Connection refused, retrying
amandad: waiting for ack: Connection refused, retrying
amandad: waiting for ack: Connection refused, retrying
amandad: waiting for ack: Connection refused, giving up!
amandad: pid 5383 finish time Thu Jul  5 01:35:32 2001
################


So the only way I can get a backup of this client is to empty the contents
of /etc/dumpdates. If I don't do that then amanda consistently fails,
and it always indicates a level 0 failure, even though it sucessfully did
a level 0 the previous day.

####
FAILURE AND STRANGE DUMP SUMMARY:
  "client" /dev/hda6 lev 0 FAILED [Request to "client" timed out.]
####

It seems to definitely be a "dump" problem and not an "Amanda" problem
but I've not come across this before, has anyone else?

Dave Elash


Reply via email to