On Tuesday 16 August 2005 18:37, Martin Simmons wrote:
> >>>>> On Tue, 16 Aug 2005 14:54:59 +0200, Kern Sibbald <[EMAIL PROTECTED]>
> >>>>> said:
>
>   Kern> On Tuesday 16 August 2005 12:22, Michael Riexinger wrote:
>   >> Hi,
>   >>
>   >> I backup serveral win2003 Servers with vss. This works without
>   >> problems,
>
>   Kern> This is good news.
>
>   >> but sometimes i get this error:
>   >>
>   >> Warning: Generate VSS snapshots failed. ERR=Overlapped I/O operation
>   >> is in progress.
>   >>
>   >> And then bacula can't backup open files. How can this be avoided?
>
>   Kern> It is perhaps not very helpful, but I'd say complain to Microsoft.
>
> This probably isn't the issue here, but you need to be sure that the error
> code isn't lost between the use of b_errno_win32 and the call to
> GetLastError() in berrno::strerror().
>
> In particular, when you do something like
>
>  Jmsg(jcr, M_WARNING, 0, _("Generate VSS snapshots failed. ERR=%s\n"),
>       be.strerror());
>
> what if the _("...") form has to do file operations?

You will need to point me to the specific code (file:line), but 

   berrno be;

captures errno. So errno can be destroyed after that point and be.strerror() 
will continue to produce correct results.  For Win32 that may not be strictly 
correct as there is no errno, so GetLastError() is used.  As long as there is 
not a second error in between time, there should be no problem (at least that 
is the theory).


-- 
Best regards,

Kern

  (">
  /\
  V_V


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to