Hello...
Jean-Louis Martineau wrote:
> Hi Christopher,
>
> On Tue, Jan 02, 2001 at 07:19:32AM -0800, Christopher McCrory wrote:
>
>> All the small partitions went first and taped fine. The rest of the
>> larger partitions taped fine. Then the last two. Two ~20 gig
>> partitions with ~10 gigs used. The amstatus showed an estimate size of
>> 9.9 gigs for boths these partitions. (The linux dump has a bug in the
>> size extimate). All the previous sessions ended up showing usage of
>> 102% - 120%. The last two backups would fail and start over,
>> ping-ponging back and forth. It went something like this:
>
>
> Could you try this patch on the server.
>
> Send me (privately) your amdump.1 log file if
> the patch doesn't fix the bug.
I looked, and I seem to have deleted it. It was during the test phase of
setup. I'll try to recreate during this evenings backups. Then I'll
try the patch.
On second thought, I'll try to recreate it now on a scratch tape...
And for Jens, no software compression, the tape drive is currently
handleing that.
>
> Jean-Louis
>
>
> ------------------------------------------------------------------------
>
> --- server-src/driver.c.orig Tue Dec 19 10:25:37 2000
> +++ server-src/driver.c Sat Dec 23 15:37:01 2000
> @@ -821,11 +821,17 @@
> if( busy_dumpers == 1 ) { /* case c */
> assignedhd_t **holdp;
> int i;
> + long est_size;
> /* set estimate to more than what is already use */
> - sched(dp)->est_size = 20 * TAPE_BLOCK_SIZE;
> + est_size = 20 * TAPE_BLOCK_SIZE;
> holdp = sched(dp)->holdp;
> for(i=0; holdp[i]; i++ ) { /* for each disk */
> - sched(dp)->est_size += holdp[i]->used;
> + est_size += holdp[i]->used;
> + }
> + fprintf(stderr,"est_size: %ld %ld\n",est_size,sched(dp)->est_size);
> + if(est_size > sched(dp)->est_size) {
> + fprintf(stderr,"Should not be executed\n");
> + sched(dp)->est_size = est_size;
> }
> }
> /* case b */
> driver.c.est_size.diff
>
> Content-Type:
>
> text/plain
--
Christopher McCrory
"The guy that keeps the servers running"
[EMAIL PROTECTED]
http://www.pricegrabber.com
"Linux: Because rebooting is for adding new hardware"