[Bacula-users] Problems compiling on HPUX, with fix

2015-10-07 Thread bambuler
I found a solution for compiling bacula on hpux,the only problem is git version 7.0.6 is the only working,i have to remove from configure the lchmod(i don't know what happen without,backup seems' to be working,use at your own risk) and apply the fix on the first message to bacula.h The compile

Re: [Bacula-users] Support for HAVE_POSIX_FADVISE on Bacula Client

2015-10-07 Thread Eric Bollengier
Hello Robert, I think you did a really nice investigation work :-) I think that your patch is almost right, and we need to figure if we want to add specific directives for that. I tend to believe right now that with or without the POSIX call, the os will cache the file, and it sounds better to

Re: [Bacula-users] Message resource when copying jobs

2015-10-07 Thread Ana Emília M . Arruda
Hello Christoph, You're right, the mail messages are about the new backup job that writes data from the previous job(s)/volume(s) to the new job(s)/volume(s). From: Bacula To: bac...@uni-koblenz.de Subject: Bacula: Backup OK of clientname Incremental 02-Oct 05:09

Re: [Bacula-users] random access for file storage

2015-10-07 Thread Ana Emília M . Arruda
Hello, On Fri, Oct 2, 2015 at 3:35 PM, Boisdesdames wrote: > Hi, > > In the config file for a file storage device, randomaccess should be set > to "yes". But what if nothing is explicitly mentioned ? What is the > default in bacula ? > ​If not defined in the device

[Bacula-users] Support for HAVE_POSIX_FADVISE on Bacula Client

2015-10-07 Thread Robert Heinzmann
Hello, we are using bacula on a virtual plattform (> 600 clients) and investiate moderate swap usage issues / cache usage issues. It seems that during backup of mysql datafiles (LVM Snapshot), the "cached" memory usage of the server increases and thus bacula backup reads (only done one) are

Re: [Bacula-users] Support for HAVE_POSIX_FADVISE on Bacula Client

2015-10-07 Thread Robert Heinzmann
Hello, just a short followup. It seems I found the issue causing our file system cache to fill up during backup jobs and our virtual platform memory usage to increase. The O_RDONLY mask is "00" on Linux, casing the if flags & O_RDONLY to always fail. So the patch regarding posix_fadvise() in

Re: [Bacula-users] Support for HAVE_POSIX_FADVISE on Bacula Client

2015-10-07 Thread Gary R. Schmidt
On 7/10/2015 10:57 PM, Robert Heinzmann wrote: > Hello, > > just a short followup. It seems I found the issue causing our file > system cache to fill up during backup jobs and our virtual platform > memory usage to increase. > > The O_RDONLY mask is “00” on Linux, casing the if flags & O_RDONLY to

Re: [Bacula-users] 7.2 mysql issue?

2015-10-07 Thread Ana Emília M . Arruda
Hello Stephen, On Mon, Oct 5, 2015 at 2:17 PM, Stephen Thompson < step...@seismo.berkeley.edu> wrote: > > Regarding: > > Would be nice also if you can give the number of Filename per Client > (from the job table). > > Do you have a sample SQL to retrieve this stat? > ​​select Client.Name,

Re: [Bacula-users] 7.2 mysql issue?

2015-10-07 Thread Stephen Thompson
Thanks for the help. Though, this is giving me a syntax error. ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '​​select Client.Name, count(distinct Filename.FilenameId) from Client,

Re: [Bacula-users] 7.2 mysql issue?

2015-10-07 Thread Ana Emília M . Arruda
Hello Stephen, I cheked that "select count(distinct) is available in MySQL 5.X versions. Could you try the bellow? mysql> select count(distinct MediaId) from Media; +-+ | count(distinct MediaId) | +-+ | 60 |