Amanda-Users

RE: Release of amanda-2.5.0b2

2006-02-22 11:37:41
Subject: RE: Release of amanda-2.5.0b2
From: "Gordon J. Mills III" <Gordon.Mills AT usa DOT net>
To: <amanda-users AT amanda DOT org>
Date: Wed, 22 Feb 2006 10:32:54 -0600
 

> -----Original Message-----
> From: owner-amanda-users AT amanda DOT org 
> [mailto:owner-amanda-users AT amanda DOT org] On Behalf Of Kevin Till
> Sent: Wednesday, February 22, 2006 10:24 AM
> To: amanda-users AT amanda DOT org
> Subject: Re: Release of amanda-2.5.0b2
> 
> Jon LaBadie wrote:
> > On Wed, Feb 22, 2006 at 07:47:02AM +0100, Josef Wolf wrote:
> > 
> >>On Thu, Jan 19, 2006 at 07:31:08PM -0500, Jean-Louis 
> Martineau wrote:
> >>
> >>
> >>>The Amanda core team is pleased to announce the release of Amanda 
> >>>2.5.0b2. It is stable and we hope to release 2.5.0 soon. 
> test it and 
> >>>report it if you find a bug in this release.
> >>
> >>The mail reports that are mailed by amdump have bogus 
> numbers in the 
> >>MMM:SS columns.  For example: this line comes from the logfile:
> >>
> >>
> >> SUCCESS dumper host.do.main /m/b 20060222 2 [sec 115.740 kb 142504 
> >> kps 1231.2 orig-kb 521380] SUCCESS chunker host.do.main 
> /m/b 20060222 
> >> 2 [sec 115.822 kb 142504 kps 1230.6]
> >>
> >>And this is what the mail contains:
> >>
> >>STATISTICS:
> >>
> >> Run Time (hrs:min)         0:14
> >> 
> >>                                      DUMPER STATS          
>       TAPER STATS
> >> HOSTNAME     DISK   L ORIG-MB OUT-MB COMP% CRYPT% MMM:SS  
> KB/s MMM:SS  KB/s
> >> --------------------- 
> ---------------------------------------- ------------
> >> host.do.main /m/b   2     509    139  27.3   1:561231.2   N/A   N/A
> >>
> >>
> >>The real dump duration was about 115 seconds, but amdump 
> says 1231.2 minutes.
> >>Note that the "kps" filed in the logfile contains the value that is 
> >>reported my the mail.
> >>
> > 
> > 
> > I think it is missing data in the new column, CRYPT%  ---  
> What is that?
> 
> I have checked in code to remove "CRYPT%".
> 
> > 
> > If the data are moved over one column it makes more sense, 
> 116sec == 
> > 1:56,
> > 1231 == 1231.
> > 
> 
> The following patch by John Franks will help too:
> --- server-src/conffile.c       28 Jan 2006 01:40:13 -0000      1.122
> +++ server-src/conffile.c       18 Feb 2006 01:55:07 -0000      1.123
> @@ -25,7 +25,7 @@
>    *                        University of Maryland at College Park
>    */
>   /*
> - * $Id: conffile.c,v 1.122 2006/01/28 01:40:13 paddy Exp $
> + * $Id: conffile.c,v 1.123 2006/02/18 01:55:07 jfranks Exp $
>    *
>    * read configuration file
>    */
> @@ -144,12 +144,12 @@
>       { "Disk",       1, 11, 11, 0, "%-*.*s", "DISK" },
>       { "Level",      1, 1,  1,  0, "%*.*d",  "L" },
>       { "OrigKB",     1, 7,  0,  0, "%*.*f",  "ORIG-KB" },
> -    { "OutKB",      0, 7,  0,  0, "%*.*f",  "OUT-KB" },
> -    { "Compress",   0, 6,  1,  0, "%*.*f",  "COMP%" },
> -    { "DumpTime",   0, 7,  7,  0, "%*.*s",  "MMM:SS" },
> -    { "DumpRate",   0, 6,  1,  0, "%*.*f",  "KB/s" },
> +    { "OutKB",      1, 7,  0,  0, "%*.*f",  "OUT-KB" },
> +    { "Compress",   1, 6,  1,  0, "%*.*f",  "COMP%" },
> +    { "DumpTime",   1, 7,  7,  0, "%*.*s",  "MMM:SS" },
> +    { "DumpRate",   1, 6,  1,  0, "%*.*f",  "KB/s" },
>       { "TapeTime",   1, 6,  6,  0, "%*.*s",  "MMM:SS" },
> -    { "TapeRate",   0, 6,  1,  0, "%*.*f",  "KB/s" },
> +    { "TapeRate",   1, 6,  1,  0, "%*.*f",  "KB/s" },
>       { NULL,         0, 0,  0,  0, NULL,     NULL }
>   };
> 
> 
> 
> 
> 
> 
> --
> Thank you!
> Kevin Till
> 
> Amanda documentation: http://wiki.zmanda.com
> Amanda forums:        http://forums.zmanda.com
> 

I have added the following in my amanda.conf file. It seems to line up the
columns quite nicely without running them all together as in the initial
example:

displayunit "m"
columnspec
"HostName=1:10,Disk=1:14,Level=1:1,OrigKB=1:10,DumpTime=1:8,DumpRate=1:8,Tap
eTime=1:8,TapeRate=1:8"

This is in Amanda 2.4.5. Not sure if there is a setting for the Crypt%
column in 2.5.0.

Regards,
Gordon