Hello Shon
Well, maybe the Solaris NFS has additional quirks that we have not yet
identified.
In any case, we have not changed the code concerning file truncation for
quite
a few years as far as I can remember.
Good luck on finding the problem(s) ...
Kern
On 07/30/2013 01:41 PM, Mingus Dew wrote:
Dear Kern,
Thanks for the explanation. I'll have to dig deeper on my end to
see what else could be at the root of the issue. As explained, my disk
volumes are on ZFS, but again this should not be an issue and was
working for me previously.
Sincerely,
Shon
On Wed, Jul 24, 2013 at 3:35 PM, Kern Sibbald <k...@sibbald.com
<mailto:k...@sibbald.com>> wrote:
Hello,
ftruncate did not seem to work over NFS or at least on certain
versions,
so I implemented code that if after doing an ftruncate, the file
size (via an
fstat) is non-zero, Bacula will delete and recreate the Volume.
This is not
ideal, because it may create it with different permissions and/or
owner,
group but it seemed to work. If you drop the SD's user from root to
bacula, depending on how you have defined your NFS volume permissions,
the SD may be unable do the delete and recreate.
Nothing has changed in that code for many years.
Best regards,
Kern
On 07/22/2013 04:06 PM, Mingus Dew wrote:
Thanks for the reply. Specifically I'm using Bacula 5.2.13 on
Solaris 10 x86. My disk backups are stored on ZFS. I saw some old
threads about truncate not working right on NFS but then some
code changes were made that actually deleted, then recreated the
volume instead of using ftruncate. I know this used to work for
me, but doesn't seem to anymore. I'm wondering if something
happened in more recent Bacula versions that changed this again.
*
*
Yours,
Shon**
On Fri, Jul 12, 2013 at 3:53 AM, Radosław Korzeniewski
<rados...@korzeniewski.net <mailto:rados...@korzeniewski.net>> wrote:
Hello,
2013/7/11 Mingus Dew <shon.steph...@gmail.com
<mailto:shon.steph...@gmail.com>>
I don't think I've ever gotten it to work under any
circumstance, either manually or automated.
It is working fine, automatic or manually. I use it on a lot
of Bacula deployments without problems.
best regards
--
Radosław Korzeniewski
rados...@korzeniewski.net <mailto:rados...@korzeniewski.net>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users