Amanda-Users

Re: amrecover: Unexpected end of file

2005-05-11 19:10:50
Subject: Re: amrecover: Unexpected end of file
From: Paul Bijnens <paul.bijnens AT xplanation DOT com>
To: Lei Zhong <lzhong AT applimation DOT com>
Date: Thu, 12 May 2005 00:54:41 +0200
Lei Zhong wrote:
Sorry about that.  Here is the amdump.1 file:

[...]
SETTING UP FOR ESTIMATES...
planner: time 0.005: setting up estimates for itchy.applimation.com:/etc

That means you have one line in disklist.


itchy.applimation.com:/etc overdue 12914 days for level 0
setup_estimate: itchy.applimation.com:/etc: command 0, options: none
last_level -1 next_level0 -12914 level_days 0    getting estimates 0
(-2) -1 (-2) -1 (-2)
planner: time 0.028: setting up estimates took 0.022 secs


But in the next section, we never recieve anything!?


GETTING ESTIMATES...
reserving 296960 out of 296960 for degraded-mode dumps
[...]
planner: time 0.130: getting estimates took 0.101 secs
FAILED QUEUE: empty
DONE QUEUE: empty

And the strange thing is that FAILED QUEUE just as well as
DONE QUEUE is empty.  I don't understand why (yet).
Never seen that before...
Maybe you have the new statistics based estimates enabled?
I did not try those yet -- no time to test, no need in my environment.
I wonder what happens when you enable this for a new DLE.



ANALYZING ESTIMATES...
INITIAL SCHEDULE (size 120):

DELAYING DUMPS IF NEEDED, total_size 120, tape length 158467072 mark 28
  delay: Total size now 120.

PROMOTING DUMPS IF NEEDED, total_lev0 0, balanced_size 0...
planner: time 0.130: analysis took 0.000 secs

GENERATING SCHEDULE:
--------
--------

But the schedule that planner generates is empty (there should be
some lines like "DUMP itchy... somehexflags /etc ...".

So it is correct that the tape just contains a label, but is
empty otherwise.

We need more information here.  Like the dislist, and dumptype
used for that DLE.


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