Amanda-Users

Re: I still have timeouts

2004-03-22 06:05:59
Subject: Re: I still have timeouts
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Gavin Henry <Gavin.Henry AT invsat DOT com>
Date: Mon, 22 Mar 2004 12:02:19 +0100
Gavin Henry wrote:

I would first take a look in /tmp/amanda/sendbackup.*debug on the
client and find out how long actually it does take to do the backup
of those filesystems. Then set "dtimeout" accordingly.


This is the file:

sendbackup: debug 1 pid 28647 ruid 33 euid 33 start time Mon Mar 22 04:02:35 
2004
/usr/lib/amanda/sendbackup: version 2.4.2p2
sendbackup: got input request: GNUTAR /var 0 1970:1:1:0:0:0 OPTIONS |;bsd-auth;
  parsed request as: program `GNUTAR'
                     disk `/var'
                     lev 0
                     since 1970:1:1:0:0:0
                     opt `|;bsd-auth;'
sendbackup: try_socksize: send buffer size is 65536
sendbackup: stream_server: waiting for connection: 0.0.0.0.37822
sendbackup: stream_server: waiting for connection: 0.0.0.0.37823
  waiting for connect on 37822, then 37823
sendbackup: stream_accept: connection from 127.0.0.1.37824
sendbackup: stream_accept: connection from 127.0.0.1.37825
  got all connections
sendbackup-gnutar: doing level 0 dump as listed-incremental to 
/var/lib/amanda/gnutar-lists/whitehat_var_0.new
sendbackup-gnutar: doing level 0 dump from date: 1970-01-01  0:00:00 GMT
sendbackup: spawning /usr/lib/amanda/runtar in pipeline
sendbackup: argument list: gtar --create --file - --directory /var 
--one-file-system --listed-incremental 
/var/lib/amanda/gnutar-lists/whitehat_var_0.new --sparse --ignore-failed-read 
--totals .
sendbackup-gnutar: /usr/lib/amanda/runtar: pid 28648


I can't see a time anywhere?


That's because it seems gnutar is crashed a little later.
The last line of the file should be something like:

sendbackup: time 1234.123: pid 1234  finish time Mon Apr 1 03:04:13 2004

The "time 1234.123" is only added in later versions (2.4.3 I believe).
But there should be a 'finish' line.  Maybe you can find out something
about the modification time of the file (or last access time, but before
you take a look a the contents!).  Any error message in runtar.* files?
I would try to run the gtar command above by hand:

  gtar --create --file - --directory /var ... \
        --etc --etc \
        --totals .  | cat > /dev/null

(Do not simplify this to ... --file /dev/null ... because then gtar
will NOT do a normal backup.)


--
Paul Bijnens, Xplanation                            Tel  +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM    Fax  +32 16 397.512
http://www.xplanation.com/          email:  Paul.Bijnens AT xplanation DOT com
***********************************************************************
* I think I've got the hang of it now:  exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit,  ZZ, :q, :q!,  M-Z, ^X^C,  logoff, logout, close, bye,  /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt,  abort,  hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e,  kill -1 $$,  shutdown, *
* kill -9 1,  Alt-F4,  Ctrl-Alt-Del,  AltGr-NumLock,  Stop-A,  ...    *
* ...  "Are you sure?"  ...   YES   ...   Phew ...   I'm out          *
***********************************************************************


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