Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes
Hello Uwe, On 2/15/21 09:56, Uwe Schuerkamp wrote: > Hi folks, > > during a largish backup job (3,8TB windows fileserver, about 5m files > & directories) I'm seeing this error when the attributes are being > despooled once the job completes: > > Fatal error: catreq.c:762 fread attr spool error. Wanted 1969368434 > bytes, maximum permitted 1000 bytes It seems that an invalid message was found in the spool file, this size is the expected size of the message, that is rarely more than few hundred bytes. It can be some error message for example (low disk space?). You might want to diagnose in the Storage daemon when we write to thespool file and track when the msglen is > 100 for example. (Display the packet in the trace file for example. Hope it helps! Best Regards, Eric > I've searched the mailing list and the documentation for a possible > variable related to attribute spooling, but I can only find options > that regulate disk / job spooling. > > I'd be most grateful if someone could direct me to the correct > configuration parameter.[1] > > We're using bacula 9.6.5 compiled from source on CentOS7. > > Thanks in advance & all the best, > > Uwe > > [1] I'd also have no problem with patching catreq.c and recompiling, > but hopefully there's a supported way of adjusting this variable. > ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes
On Monday 2021-02-15 18:47:35 Martin Simmons wrote: > > On Mon, 15 Feb 2021 09:56:33 +0100, Uwe Schuerkamp said: > > Hi folks, > > > > during a largish backup job (3,8TB windows fileserver, about 5m files > > & directories) I'm seeing this error when the attributes are being > > despooled once the job completes: > > > > Fatal error: catreq.c:762 fread attr spool error. Wanted 1969368434 > > bytes, maximum permitted 1000 bytes > > How large is the attribute spool file? > > This could be a bug. > > Is it repeatable? If so, does it repeat with this same number > (1969368434)? > > __Martin I don't know why some of my e-mails don't reach the e-mail list. I wrote today that the size of 1000 is hardcoded i nthe source of catreq.c. Regards! -- Josip Deanovic ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula For Mac Clients
> On Fri, 12 Feb 2021 17:47:52 -0500, Josh Fisher said: > > On 2/12/21 12:53 PM, Martin Simmons wrote: > > > > > I don't understand the comment about "refactor" or "all instances" unless > > there are other errors as well. > > > By refactor, he means that when the function declaration is changed from > round() to bround() to avoid the conflict, it has to be changed > everywhere else in the code where it is called. In bsnprintf.c, round() > is declared static, so this amounts to changing all calls to round() > that are made inside the bsnprintf.c source file from round() to bround(). OK, so refactor is just a way to make simple things sound complicated...I would call that renaming the function and you obviously also have to change the single use of it as well :-) __Martin ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Copy / migrate job settings
Phil, Thank you for the quick reply. I will give that a try. Johannes Phil Stracchino schrieb am Mo., 15. Feb. 2021, 18:27: > On 2/15/21 12:19 PM, Phil Stracchino wrote: > > FileSet { > > Name = Dummy > > Include { > > Options { > > signature = MD5 > > } > > } > > } > > > ... I have no idea why, when I copied that as "Name = DUMMY". it pasted > as "Name = Dummy". > > > Possibly Thunderbird is being a dummy. > > > -- > Phil Stracchino > Babylon Communications > ph...@caerllewys.net > p...@co.ordinate.org > Landline: +1.603.293.8485 > Mobile: +1.603.998.6958 > > > ___ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users > ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes
> On Mon, 15 Feb 2021 09:56:33 +0100, Uwe Schuerkamp said: > > Hi folks, > > during a largish backup job (3,8TB windows fileserver, about 5m files > & directories) I'm seeing this error when the attributes are being > despooled once the job completes: > > Fatal error: catreq.c:762 fread attr spool error. Wanted 1969368434 > bytes, maximum permitted 1000 bytes How large is the attribute spool file? This could be a bug. Is it repeatable? If so, does it repeat with this same number (1969368434)? __Martin ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Copy / migrate job settings
On 2/15/21 12:19 PM, Phil Stracchino wrote: > FileSet { > Name = Dummy > Include { > Options { > signature = MD5 > } > } > } ... I have no idea why, when I copied that as "Name = DUMMY". it pasted as "Name = Dummy". Possibly Thunderbird is being a dummy. -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Copy / migrate job settings
On 2/15/21 11:31 AM, Johannes Becker wrote: > Hi, > > I want to use a copy job to create copies for offsite storage. While > creating the settings in the bacula-dir.conf I had to define entries for > client and fileset, even so I want to copy complete tapes with many jobs > and clients. Which "client" would you put there? The same is with > "fileset", what do you put there? Try Client = ALL and Fileset = DUMMY, with those defined as follows: # Fake client for copy jobs Client { Name = ALL Address = localhost Password = NONE Catalog = Catalog } FileSet { Name = Dummy Include { Options { signature = MD5 } } } -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Copy / migrate job settings
Hi, I want to use a copy job to create copies for offsite storage. While creating the settings in the bacula-dir.conf I had to define entries for client and fileset, even so I want to copy complete tapes with many jobs and clients. Which "client" would you put there? The same is with "fileset", what do you put there? Johannes ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Error on despooling attributes in catreq.c: wanted xxx bytes, maximum permitted 10000000 bytes
Hi folks, during a largish backup job (3,8TB windows fileserver, about 5m files & directories) I'm seeing this error when the attributes are being despooled once the job completes: Fatal error: catreq.c:762 fread attr spool error. Wanted 1969368434 bytes, maximum permitted 1000 bytes I've searched the mailing list and the documentation for a possible variable related to attribute spooling, but I can only find options that regulate disk / job spooling. I'd be most grateful if someone could direct me to the correct configuration parameter.[1] We're using bacula 9.6.5 compiled from source on CentOS7. Thanks in advance & all the best, Uwe [1] I'd also have no problem with patching catreq.c and recompiling, but hopefully there's a supported way of adjusting this variable. -- Uwe Schürkamp | email: Arvato Systems S4M GmbH | Sitz Köln | Amtsgericht Köln HRB 27038 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users