With the amgtar application (in 3.1.0), an exit status of 1 from runtar
is not an error.
"file changed as we read it" will still result in STRANGE result, but
you can add a regex to turn it into a SUCCESS.
Jean-Louis
Toomas Aas wrote:
Hello!
I upgraded Amanda from 2.5.1p3 to 2.6.1p2 on my FreeBSD 7.2 box (which
is Amanda server for my network). There have been two scheduled amdump
runs after the upgrade, and I seem to have problem backing up one
particular DLE on the server itself. Other DLEs on the server as well
as other clients (2.5.1 and even 2.4.5) seem fine. Error message in
Amanda report regarding this DLE is:
FAILURE DUMP SUMMARY:
kuller.raad.tartu.ee /var lev 0 FAILED
"/usr/local/libexec/amanda/runtar exited with status 1: see
/tmp/amanda/client/TLV/sendsize.20100322221502.debug"
The excrept from sendsize.20100322221502.debug is at the end of the
message. The only error I can see there is "file changed as we read
it", regarding one file. In my earlier experience with Amanda 2.5.1p3
this kind of errors didn't cause the dump to be FAILED, just STRANGE.
Is it possible that new runtar treats errors returned from gtar
somehow differently? Maybe I should upgrade gtar on this machine from
1.19 to something newer?
BTW, after failing level 0 of this DLE, Amanda seems to successfully
take a level 1 of it.
1269289094.062058: sendsize: calculating for amname /var, dirname
/var, spindle -1 GNUTAR
1269289094.062260: sendsize: getting size via gnutar for /var level 0
1269289094.064651: sendsize: pipespawnv: stdoutfd is 3
1269289094.064958: sendsize: Spawning
"/usr/local/libexec/amanda/runtar runtar TLV /usr/local/bin/gtar
--create --file /dev/null --numeric-owner --directory /var
--one-file-system --listed-incremental
/var/amanda/client/gnutar-lists/kuller.raad.tartu.ee_var_0.new
--sparse --ignore-failed-read --totals --exclude-from
/tmp/amanda/sendsize._var.20100322221814.exclude ." in pipeline
1269289095.869283: sendsize: /usr/local/bin/gtar:
./amavis/amavisd.sock: socket ignored
1269289119.744394: sendsize: /usr/local/bin/gtar:
./amavis/.spamassassin/bayes_seen: file changed as we read it
1269289119.805778: sendsize: /usr/local/bin/gtar:
./db/nut/snmp-ups-rae3-ups1: socket ignored
1269289122.286540: sendsize: Total bytes written: 3071877120 (2.9GiB,
104MiB/s)
1269289122.287088: sendsize: .....
1269289122.287131: sendsize: estimate time for /var level 0: 28.222
1269289122.287150: sendsize: estimate size for /var level 0: 2999880 KB
1269289122.287181: sendsize: waiting for runtar "/var" child
1269289122.288126: sendsize: after runtar /var wait
1269289122.288648: sendsize: errmsg is
/usr/local/libexec/amanda/runtar exited with status 1: see
/tmp/amanda/client/TLV/sendsize.20100322221502.debug