On Monday 12 November 2018 13:15:31 Nathan Stratton Treadway wrote:
> On Mon, Nov 12, 2018 at 06:40:56 -0500, Gene Heskett wrote:
> > amanda@coyote:/root$ /usr/local/sbin/amadmin Daily balance
> >
> > due-date #fs orig MB out MB balance
> > ----------------------------------------------
> > 11/12 Mon 1 32963 7875 -53.6%
> > 11/13 Tue 1 7688 7688 -54.7%
> > 11/14 Wed 2 22109 22109 +30.3%
> > 11/15 Thu 4 75027 46623 +174.9%
> > 11/16 Fri 4 3506 3506 -79.3%
> > 11/17 Sat 14 12127 7581 -55.3%
> > 11/18 Sun 4 21281 16842 -0.7%
> > 11/19 Mon 14 27513 15343 -9.6%
> > 11/20 Tue 1 49240 25295 +49.1%
> > 11/21 Wed 22 24718 16774 -1.1%
> > ----------------------------------------------
> > TOTAL 67 276172 169636 16963
> > (estimated 10 runs per dumpcycle)
> >
> > Which is only microscopicly better. Snd the churn returns
>
> Hmmm, yes, now things are getting messy....
>
>
> However, I think much of the churn you saw in this run can be
> explained based on the balance figures:
>
> In your balance table from a day ago, the entry for today's run was:
>
> 11/11 Sun 1 10886 10886 -35.8%
>
> ... but note in the table after today's run that the 11/21 entry
> (which normally would have included the same DLE(s) as the 11/11 did
> in yesterday's table) is pretty close to a zero balance.
>
> So I think basically the idea is that the planner noticed that the
> total of full dumps scheduled for that last run was much less than the
> target (average) daily size, and so it moved forward a whole bunch
> (i.e. 21) smallish DLEs from 11/16, 11/17, and 11/19, thus pulling the
> runs total up to the target size.
>
> However, the catch is that it's really just borrowing DLEs from other
> days that already were pretty undersized and now after the promotions
> are left with negative balance figures, so the shuffling is not
> actually solving the balance problem over the course of the full
> cycle....
>
> (I don't know the details of how the planner makes these choices, but
> I would assume that that the reason it doesn't promote DLEs from one
> of the positive-balance days is that those DLEs are all so big that
> you can't promote any of them without making today's run too large.)
>
That's essentially my opinion also. So next week I'll probably start
breaking up the dle's using the examples early in the default disklist.
> We might still notice something interesting as we watch the balance
> reports over the course of the dump cycle, but off hand I don't think
> of any advice to give you, other than the "break up your huge DLEs"
> advice you've already heard....
Yes but do it at a rate amanda can keep track of gently.
> > NOTES:
> > planner: Incremental of coyote:/var bumped to level 6.
> > planner: Incremental of coyote:/home/gene/Mail bumped to level 2.
> > planner: Incremental of coyote:/home/amanda bumped to level 2.
> > planner: Full dump of coyote:/usr/local promoted from 6 days
> > ahead. planner: Full dump of coyote:/root promoted from 6 days
> > ahead. planner: Full dump of lathe:/etc promoted from 6 days ahead.
> > planner: Full dump of shop:/etc promoted from 6 days ahead. planner:
> > Full dump of GO704:/usr/local promoted from 6 days ahead. planner:
> > Full dump of coyote:/usr/bin promoted from 6 days ahead. planner:
> > Full dump of lathe:/home promoted from 6 days ahead. planner: Full
> > dump of GO704:/home promoted from 8 days ahead. planner: Full dump
> > of shop:/home promoted from 8 days ahead. planner: Full dump of
> > picnc:/boot promoted from 8 days ahead. planner: Full dump of
> > lathe:/usr/src promoted from 8 days ahead. planner: Full dump of
> > GO704:/root promoted from 6 days ahead. planner: Full dump of
> > shop:/lib/firmware promoted from 6 days ahead. planner: Full dump of
> > lathe:/lib/firmware promoted from 6 days ahead. planner: Full dump
> > of GO704:/lib/firmware promoted from 6 days ahead. planner: Full
> > dump of shop:/root promoted from 6 days ahead. planner: Full dump of
> > coyote:/usr/lib promoted from 5 days ahead. planner: Full dump of
> > lathe:/root promoted from 6 days ahead. planner: Full dump of
> > shop:/usr/lib/amanda promoted from 6 days ahead. planner: Full dump
> > of GO704:/usr/lib/amanda promoted from 6 days ahead. planner: Full
> > dump of coyote:/home/gene/Documents promoted from 5 days ahead.
> > taper: tape Dailys-42 kb 18022402 fm 67 [OK
> >
> > But the rest of the report shows that coyote /var was actually a
> > level 0. coyote /var 0 10971 10971 -- 9:07 20543.3
> > 2:55 64197.3
>
> Okay, that does seem odd.
>
> Normally I would say something about how the "bumped to level N" lines
> don't tell you that Amanda is actually going to do an incremental on
> that run, but only tells you what level it would plann to do if it
> ends up deciding to do an incremental for that DLE.
>
> However, off hand I would have expected colyote:/var to be mentioned
> in the "promoted from N days ahead" lines, but it's not there (and all
> 21 promoted DLEs are listed, so it seems something else is up).
I've had that impression for years. :)
>
> So, if you want to do the deep dive to try to debug that quirk... the
> next step will be to look through the
> /var/log/amanda/Daily/amdump.20181112*
> log file (assuming the run in question started after midnight this
> morning; if not the datetime-stamp would be 20181111* of course).
It did, I have some other stuff so it isn't started till about 03:05.
> Find the "ANALYZING ESTIMATES..." section, and cut-and-paste the log
> lines that discuss coyote:/var from that section on down through
> INITIAL SCHEDULE, PROMOTING DUMPS IF NEEDED, and on through the
> GENERATING SCHEDULE section.... and we'll see if those lines tell us
> anything useful...
Ok but my local prefix is /usr/local, and there is no such text
in /usr/local/tmp*, so the .debug files there are quite small, 15 to 20
lines. So given that my amanda gh.cf prefix is /usr/local, where do I
find these log amdump.20181112*.debug files? I am getting lost in a
20,000 acre forest, yet my backup.sh wrapper is deleting the entry's for
reused vtapes.
> (Also, "amadmin Dailys info coyote /var" might possibly tell us
> something interesting as well.)
Hummmm, its not Dailys, but Daily in that path:
amanda@coyote:~$ /usr/local/sbin/amadmin Daily info coyote /var
Current info for coyote /var:
Stats: dump rates (kps), Full: 20538.4, 20915.8, 23416.4
Incremental: 18325.7, 21792.3, 50128.9
compressed size, Full: 92.6%, 92.5%, 92.5%
Incremental: 19.5%, 15.7%, 28.5%
Dumps: lev datestmp tape file origK compK secs
0 20181112 Dailys-42 31 11234520 11234520 547
>
> Nathan
So I'm out for a couple hours at least, I've a gcode file to finetune to
cut out a db25 panel cutout. And the mill is too small to be rigid
enough. Even carbide cutting tool will bend a few degrees before it
breaks...
[...]
Copyright 2018 by Maurice E. Heskett
--
Cheers, Gene Heskett
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>