Re: [Bacula-users] [Bacula-devel] [SOLVED] OneFS = no doesn't work
Hello, It is possible that the documentation is not as detailed or explicit as it could be, but the two different FileSets you wrote are totally different, and the parser works perfectly fine otherwise it would have reported an error. What is more likely is that the way two different Options blocks are interpreted (or executed) is non-trivial and different from what you understand. Regards, Kern On Wednesday 18 May 2011 19:57:28 Roy Sigurd Karlsbakk wrote: # Home directories FileSet { Name = verdande.nilu.no-home-fileset Include { Options { signature = MD5 OneFS = no FSType = zfs } Options { Exclude = yes WildFile = *.mp3 } File = /tos-data/home } } FileSet { Name = verdande.nilu.no-home-fileset Include { Options { signature = MD5 OneFS = no FSType = zfs Exclude = yes WildFile = *.mp3 } File = /tos-data/home } } Changing this to one single Options {} block as pasted above fixed this. I guess this should be fixed in the code for Bacula to either refuse two option blocks, or parse it correctly. Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. --- --- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-devel mailing list bacula-de...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] [SOLVED] OneFS = no doesn't work
It is possible that the documentation is not as detailed or explicit as it could be, but the two different FileSets you wrote are totally different, and the parser works perfectly fine otherwise it would have reported an error. What is more likely is that the way two different Options blocks are interpreted (or executed) is non-trivial and different from what you understand. First of all, to my own defence, this configuration was something I took over after being absent from work a few weeks after an accident. We had a consultant do the initial installation, and I thought it was ok. Secondly, after looking at the code, it looks like there is some built-in support for allowing multiple option blocks. A parameter 'pass' is passed to the functions, and the options struct is only initialised if the value of 'pass' is one. However - I don't see this variable being incremented, but then, I've only spent an hour or so looking into the code, and I sometimes find object-oriented C a bit hard to follow. Last, I would think the -t argument to bacula-dir should have reported this issue Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] [SOLVED] OneFS = no doesn't work
On Wednesday 18 May 2011 21:45:57 Roy Sigurd Karlsbakk wrote: It is possible that the documentation is not as detailed or explicit as it could be, but the two different FileSets you wrote are totally different, and the parser works perfectly fine otherwise it would have reported an error. What is more likely is that the way two different Options blocks are interpreted (or executed) is non-trivial and different from what you understand. First of all, to my own defence, this configuration was something I took over after being absent from work a few weeks after an accident. We had a consultant do the initial installation, and I thought it was ok. I understand. Secondly, after looking at the code, it looks like there is some built-in support for allowing multiple option blocks. Yes, multiple option blocks work and are very useful. I refer you to the doc. A parameter 'pass' is passed to the functions, and the options struct is only initialised if the value of 'pass' is one. However - I don't see this variable being incremented, but then, I've only spent an hour or so looking into the code, and I sometimes find object-oriented C a bit hard to follow. Even though it is my code, I will leave this to some other developer to answer as I am a bit overloaded at the moment. Last, I would think the -t argument to bacula-dir should have reported this issue The -t does not add any additional checking other than what is normally done. Bacula does not check for every inconsistent configuration options, and in this case, I think that everything is completely consistent so I am not sure what it should have found or how it would have found it. Regards, Kern Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.karlsbakk.net/ -- I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og relevante synonymer på norsk. -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] [Bacula-devel] [SOLVED] OneFS = no doesn't work
On 5/18/11 12:45 PM, Roy Sigurd Karlsbakk wrote: Last, I would think the -t argument to bacula-dir should have reported this issue Roy, Sometimes it is just better to swallow. Mehma -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users