Re: [Bacula-users] Is Truncate just broken?
2013-07-24 15:38:33
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
------------------------------------------------------------------------------
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 AT lists.sourceforge DOT 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|