I sent the message below yesterday.  After having read some other seemingly 
unrelated messages, I realized that I did change one of the disks on the 
client "client.foo.com" from using dump to tar (see dumptypes below).  It 
was after this change that the entire client started coming back as 
"Request timed out".  I got this from reading the other messages saying 
that backups with tar took an incredibly long time to generate estimates.

I want to use tar so that I can exclude some areas of that disk.  Is it 
enough to just increase the etimeout for that client?  Am I on the right 
track?  All the logfiles are still included below from the original message.


Oscar




I've been running Amanda 2.4.2 for several months now.  I have a client, 
client.foo.com that has stopped responding and here's what I get from the 
Amanda report:

FAILURE AND STRANGE DUMP SUMMARY
         client.foo. /disk1 lev 0 FAILED [Request to client.foo.com timed out.]
         client.foo. /var lev 0 FAILED [Request to client.foo.com timed out.]
         client.foo. /usr lev 0 FAILED [Request to client.foo.com timed out.]
         client.foo. /home lev 0 FAILED [Request to client.foo.com timed out.]
         client.foo. / lev 0 FAILED [Request to client.foo.com timed out.]


Amanda is launched from inetd and I did verify that inetd was 
running.  Both client and amanda server are connected to switched 100 Mbps 
ports so speed isn't necessarily an issue.  I also increased the the 
timeouts (although ctimeout I just raised from 30 to 60):

etimeout        1200
dtimeout        1800
ctimeout        60


Here is the debug files for client.foo.com:


amandad.debug

amandad: debug 1 pid 10696 ruid 520 euid 520 start time Sun Jan 28 22:30:49 
2001
amandad: version 2.4.2
amandad: build: VERSION="Amanda-2.4.2"
amandad: BUILT_DATE="Thu Jul 6 13:33:02 CDT 2000"
amandad: BUILT_MACH="Linux client.foo.com 2.2.5-22 #1 Wed Jun 2 09:17:03 
EDT 1999 i686 unknown"
amandad: CC="gcc"
amandad: paths: bindir="/usr/local/amanda/bin"
amandad: sbindir="/usr/local/amanda/sbin"
amandad: libexecdir="/usr/local/amanda/libexec"
amandad: mandir="/usr/local/man" AMANDA_TMPDIR="/tmp/amanda"
amandad: AMANDA_DBGDIR="/tmp/amanda"
amandad: CONFIG_DIR="/usr/local/amanda/etc" DEV_PREFIX="/dev/"
amandad: RDEV_PREFIX="/dev/" DUMP="/sbin/dump"
amandad: RESTORE="/sbin/restore" SAMBA_CLIENT="/usr/bin/smbclient"
amandad: GNUTAR="/usr/local/bin/tar" COMPRESS_PATH="/usr/bin/gzip"
amandad: UNCOMPRESS_PATH="/usr/bin/gzip" MAILER="/usr/bin/Mail"
amandad: listed_incr_dir="/usr/local/amanda/var/gnutar-lists"
amandad: defs: DEFAULT_SERVER="amanda.foo.com"
amandad: DEFAULT_CONFIG="daily"
amandad: DEFAULT_TAPE_SERVER="amanda.foo.com"
amandad: DEFAULT_TAPE_DEVICE="/dev/nrsa0" 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 004-80310808 SEQ 980742604
SECURITY USER amanda
SERVICE sendsize
OPTIONS maxdumps=2;hostname=client.foo.com;
DUMP /drive1 0 1970:1:1:0:0:0 -1
DUMP /drive1 1 2001:1:10:6:20:15 -1
DUMP /var 0 1970:1:1:0:0:0 -1
DUMP /var 1 2001:1:17:2:42:18 -1
DUMP /usr 0 1970:1:1:0:0:0 -1
DUMP /usr 1 2001:1:18:2:25:44 -1
DUMP /home 0 1970:1:1:0:0:0 -1
DUMP /home 1 2001:1:21:5:26:24 -1
GNUTAR / 0 1970:1:1:0:0:0 -1 exclude-list=/usr/local/amanda/exclude
GNUTAR / 1 2001:1:20:5:28:22 -1 exclude-list=/usr/local/amanda/exclude
--------
sending ack:
----
Amanda 2.4 ACK HANDLE 004-80310808 SEQ 980742604
----
bsd security: remote host amanda.foo.com user amanda local user amanda
amandahosts security check passedamandad: running service 
"/usr/local/amanda/libexec/sendsize"


selfcheck.debug

selfcheck: debug 1 pid 16214 ruid 520 euid 520 start time Sun Jan 28 
19:00:47 2001
/usr/local/amanda/libexec/selfcheck: version 2.4.2
checking disk /disk1: device /dev/sdb1: OK
checking disk /var: device /dev/sda6: OK
checking disk /usr: device /dev/sda5: OK
checking disk /home: device /dev/sda8: OK
checking disk /: device /: OK
selfcheck: pid 16214 finish time Sun Jan 28 19:00:47 2001



runtar.debug

runtar: debug 1 pid 10702 ruid 520 euid 0 start time Sun Jan 28 22:30:50 2001
/usr/local/bin/tar: version 2.4.2
running: /usr/local/bin/tar: /usr/local/bin/tar --create --directory / 
--listed-incremental 
/usr/local/amanda/var/gnutar-lists/client.foo.com__0.new --sparse 
--one-file-system --ignore-failed-read --totals --file /dev/null 
--exclude-from /usr/local/amanda/exclude .



sendsize.debug

sendsize: debug 1 pid 10697 ruid 520 euid 520 start time Sun Jan 28 
22:30:50 2001
/usr/local/amanda/libexec/sendsize: version 2.4.2
amandates botch: /dev/sda1 lev 0: new dumpdate 959404817 old 979968536
amandates botch: /dev/sda5 lev 0: new dumpdate 959405582 old 979784774
amandates botch: /dev/sda6 lev 0: new dumpdate 959405079 old 979699366
amandates botch: /dev/sda6 lev 1: new dumpdate 958789394 old 980054948
amandates botch: /dev/sda8 lev 0: new dumpdate 959404910 old 980054819
amandates botch: /dev/sdb1 lev 0: new dumpdate 959404801 old 979107633
calculating for amname '/', dirname '/'
calculating for amname '/home', dirname '/home'
calculating for amname '/usr', dirname '/usr'
sendsize: getting size via gnutar for / level 0
sendsize: getting size via dump for /home level 0
sendsize: running "/sbin/dump 0sf 1048576 - /dev/sda8"
running /usr/local/amanda/libexec/killpgrp
sendsize: running "/usr/local/amanda/libexec/runtar --create --directory / 
--listed-incremental 
/usr/local/amanda/var/gnutar-lists/client.foo.com__0.new --sparse 
--one-file-system --ignore-failed-read --totals --file /dev/null 
--exclude-from/usr/local/amanda/exclude"
sendsize: spawning "/usr/local/amanda/libexec/runtar" in pipeline
sendsize: argument list: "/usr/local/bin/tar" "--create" "--directory" "/" 
"--listed-incremental" 
"/usr/local/amanda/var/gnutar-lists/client.foo.com__0.new" "--sparse" 
"--one-file-system" "--ignore-failed-read" "--totals" "--file" "/dev/null" 
"--exclude-from" "/usr/local/amanda/exclude" "."
   DUMP: Date of this level 0 dump: Sun Jan 28 22:30:50 2001
   DUMP: Date of last level 0 dump: the epoch
   DUMP: Dumping /dev/sda8 (/home) to standard output
   DUMP: Label: none
   DUMP: mapping (Pass I) [regular files]
Total bytes written: 47718400 (45MB, 2.8MB/s)
.....






Here is the portion of the disklist for the client:

client.foo.com  /       tar-exclude
client.foo.com  /home   DLT
client.foo.com  /usr    DLT
client.foo.com  /var    DLT
client.foo.com  /disk1  DLT



And here are the dumptypes:

define dumptype global {
         index yes
         record yes
}

define dumptype DLT {
         global
         compress none
         comment "No compression, using DUMP"
         holdingdisk yes
         maxdumps 2
}

define dumptype tar-exclude {
         global
         program "GNUTAR"
         compress none
         comment "client, excluding /ram and /dev"
         holdingdisk yes
         maxdumps 2
         exclude list "/usr/local/amanda/exclude"
}


Here is inetd.conf for client.foo.com:

amanda  dgram   udp     wait    amanda  /usr/local/amanda/libexec/amandad 
     amandad


and here is /etc/services:

amanda  10080/udp
amandaidx       10082/tcp
amidxtape       10083/tcp

Reply via email to