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
https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/bacula-users