Nice catch. You are indeed correct. The size definitions only apply to directives that store a 64 bit value. Many directives such as Max/minimumBlockSize store only a 32 bit value.
I have fixed this for the current development version (not yet committed). Since this problem has existed quite a long time, I haven't decided if I will make the documentation change back in the old 3.0.2 (soon to be 3.0.3) documentation as it takes a bit of work. The real fix to this is too invasive to back port to 3.0.3 without possibly introducing a new bug. Thanks for mentioning this. At a minimum in future versions, it will be corrected, and I have now extended the postfix qualifyer to work for 32 bit values, so in future versions we will extend it to be used in more than just the min/maximum blocksize. Best regards, Kern On Friday 25 September 2009 21:51:31 Bob Hetzel wrote: > First, This is in the 3.0.3 beta version. > > The manual appears not to agree with the parser for the bacula-sd.conf > regarding the maximum block size parameter of the storage daemon. > > In the manual it says... > http://www.bacula.org/en/dev-manual/Storage_Daemon_Configuratio.html#SECTIO >N001610000000000000000 --- start manual text quote > If you want the block size to be variable but with a 64K minimum and 200K > maximum (and default as well), you would specify: > > Minimum block size = 64K > Maximum blocksize = 200K > -- > But when I tried to specify that value with a "K" or "M" I got back > --- start error text quote > 25-Sep 14:46 bacula-sd: ERROR TERMINATION at lex.c:341 > Config error: expected a positive integer number, got: 200K > > : line 87, col 27 of file /etc/bacula/bacula-sd.conf > > Maximum block size = 200K > -- > > It appears that the parser only allows numbers specified in bytes, not in > K, KB, M, or MB for this parameter. I do see, however, that it allows MB > and GB for the "Maximum File Size" parameter as I'm able to use a value of > "5GB" for that. > > > > --------------------------------------------------------------------------- >--- Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > Bacula-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/bacula-devel ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Bacula-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-devel
