Amanda-Users

Re: Can autoflush calculate size?

2004-11-07 03:17:57
Subject: Re: Can autoflush calculate size?
From: Kevin Dalley <kevin AT kelphead DOT org>
To: amanda-users AT amanda DOT org
Date: Sun, 07 Nov 2004 00:11:27 -0800
Kevin Dalley <kevin AT kelphead DOT org> writes:

> I'm looking through the code now, for the first time.  I think I can
> answer my question, but can I change the solution.
>
> autoflush does not change the available tape size.
>
> However, the planner does use the tape length, and the number of
> tapes, when the dumping calculation is made.
>
> However, the first use of conf_autoflush is after the tape length
> calculation.  I know the autoflush is being moved around a bit, at
> least in test code, so that flushing can happen during the
> calculation.  I haven't looked at this change yet.

I have a patch for this problem, so that planner subtracts the flushed
DLEs from the total tape length.  I'm testing the code, and then
expect to post it to amanda-hackers.


-- 
Kevin Dalley
kevin AT kelphead DOT org

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