You wrote writing Volumes directly to a CIFS mount is not really a good idea for
a number of reasons.
What do you recommend as best practice instead?

Best regards,
Stefan


> Kern Sibbald <k...@sibbald.com> hat am 10. Juli 2014 um 17:36 geschrieben:
> 
>  Unfortunately, neither CIFS nor NFS include a truncate() function, and this
> problem was not noticed because not many people write Volumes directly to a
> CIFS/NFS mount.  Doing so is not really a good idea for a number of reasons
> reasons.
> 
>  Any way, once it was discovered (quite a long time ago), I fixed it by
> "emulating" a truncate.  Consequently, I suspect that if you upgrade to a more
> recent version of Bacula, it will probably work.
> 
>  Best regards,
>  Kern
> 
>  On 07/10/2014 01:22 PM, Stefan Lamby wrote:
> 
>      > >      Hello List.
> > 
> >      Once a week I got this error, when performing a backup.
> >      19 out of 20 backup jobs work well, one fails.
> >      The nas_01 device is a small 1 TB NAS, mounted via fstab:
> >      //192.168.1.9/Volume_1 /nas01_backup    cifs
> >    soft,username=******,password=******,uid=107,gid=107   0 0
> > 
> >      The /nas01_backup/backup/ directory exists on the device and other jobs
> > are using it successfully.
> > 
> >      Here is the output of the status mail:
> > 
> >      13-Jun 23:39 backnix05-dir JobId 11348: Start Backup JobId 11348,
> > Job=extranix-bkpdir-full-nas.2014-06-13_23.30.00_57
> >      13-Jun 23:39 backnix05-dir JobId 11348: Using Device "nas_01"
> >      13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: label.c:464
> > Truncate error on device "nas_01" (/nas01_backup/backup): ERR=dev.c:2023
> > Unable to truncate device "nas_01" (/nas01_backup/backup). ERR=No such file
> > or directory
> > 
> >      13-Jun 23:39 backnix05-sd JobId 11348: Marking Volume "bkp-nas-0265" in
> > Error in Catalog.
> >      13-Jun 23:39 backnix05-sd JobId 11348: Fatal error: Job 11348 canceled.
> >      13-Jun 22:40 extranix-fd JobId 11348: Fatal error: job.c:2390 Bad
> > response to Append Data command. Wanted 3000 OK data
> >      , got 3903 Error append data
> > 
> >      Do you have any advice/idea?
> > 
> >      Thank you very much.
> >      Stefan
> > 
> > 
> > 
> > 
> >     
> > ------------------------------------------------------------------------------
> >      Open source business process management suite built on Java and Eclipse
> >      Turn processes into business applications with Bonita BPM Community
> > Edition
> >      Quickly connect people, data, and systems into organized workflows
> >      Winner of BOSSIE, CODIE, OW2 and Gartner awards
> >      http://p.sf.net/sfu/Bonitasoft
> > 
> > 
> > 
> >      _______________________________________________
> >      Bacula-users mailing list
> >      Bacula-users@lists.sourceforge.net
> > <mailto:Bacula-users@lists.sourceforge.net>
> >      https://lists.sourceforge.net/lists/listinfo/bacula-users
> > 
> >  > 

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to