Amanda-Users

Re: all estimate failed - problem

2005-10-14 10:43:57
Subject: Re: all estimate failed - problem
From: Sylvia Gelman <sgelman AT rtr.tu-darmstadt DOT de>
To: amanda-users AT amanda DOT org
Date: Fri, 14 Oct 2005 16:38:18 +0200
Hi Joshua,
thanks for your answer!

Is there a way how I could test the estimate time "dry" without making really a backup?


Yep. sendsize*debug has the exact command it runs, which you could then run by hand.
I´m a little bit confused with the arguments ...
as user amanda, I did the following:
mailserver% sendsize /opt/gnu/bin/tar --create --file /dev/null --directory /var/mail --one-file-system --listed-incremental /usr/local/amanda/var/amanda/gnutar-lists/mailserver_var_mail_5.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendsize._var_mail.20051013210554.exclude
il.20051013210554.exclude: Command not found
mailserver% sendsize /opt/gnu/bin/tar --create --file /dev/null --directory /var/mail --one-file-system --listed-incremental /usr/local/amanda/var/amanda/gnutar-lists/mailserver_var_mail_5.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendsize._var_mail.20051013210554.exclude .
il.20051013210554.exclude: Command not found
mailserver% sendsize /opt/gnu/bin/tar --create --file /dev/null --directory /var/mail --one-file-system --listed-incremental /usr/local/amanda/var/amanda/gnutar-lists/mailserver_var_mail_5.new --sparse --ignore-failed-read --totals

the last line is now working, but is it correct? Anyway there is no entry in the exclude file ...

sendsize[5579]: argument list: /opt/gnu/bin/tar --create --file /dev/null --directory /var/mail --one-file-system --listed-incremental /usr/local/amanda/va r/amanda/gnutar-lists/mailserver_var_mail_0.new --sparse --ignore-failed-read --totals --exclude-from /tmp/amanda/sendsize._var_mail.20051013210005.exclude .


There's the command (I'm assuming the odd line break is a mailer issue.

yes


*********************************************************************************
sendsize[5579]: time 349.922: Total bytes written: -1386622976


And there's your problem. tar is returning a *negative* size for /var/mail. You have to figure out why that's happening. Personally, I have no idea. :)

I had a similar problem, but the last time it was a wrong tar version, for that reason it didn´t succeeded on the whole server but now it is only one DLE, that is really strange!

Any ideas

Sylvia



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