Amanda-Users

Re: all estimate failed - problem

2005-10-14 11:27:42
Subject: Re: all estimate failed - problem
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Sylvia Gelman <sgelman AT rtr.tu-darmstadt DOT de>
Date: Fri, 14 Oct 2005 11:23:43 -0400 (EDT)
On Fri, 14 Oct 2005 at 4:38pm, Sylvia Gelman wrote

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 ...

Those files are created on the fly. You don't need to be running the command through sendsize -- just do the tar command (which should need the '.' at the end.

********************************************************************************* 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

First off, what version of tar is this? I'd also have a look at /var/mail. Anything odd -- sparse files, too many inodes in use, etc? How big should it be? Do the estimate tar command in various parts of /var/mail and see if any in particular return negative sizes.

--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
<Prev in Thread] Current Thread [Next in Thread>