Bacula-users

Re: [Bacula-users] tape error and bacula: ...block numbers differ

2009-02-05 08:35:43
Subject: Re: [Bacula-users] tape error and bacula: ...block numbers differ
From: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 5 Feb 2009 14:32:52 +0100
Kern Sibbald schrieb:
> On Thursday 05 February 2009 12:48:18 Ralf Gross wrote:
> > Hello,
> >
> > > The problem described in the email below is probably an important data
> > > loss problem due (most likely) to an I/O error, but more importantly due
> > > to a misconfigured tape drive.  From the information I see below, it
> > > appears to me that you have lost significant data.  This is probably due
> > > to the fact that the HBA or the tape drive is running in asynchronous
> > > mode (cached or buffered) while Bacula *requires* you to run everything
> > > concerning tapes in synchronous mode -- please see the Tape testing
> > > chapter for more information.
> > >
> > > This data loss due to asynchronous mode will probably also occur when
> > > your tape fills.
> >
> > thanks for your response.
> >
> > I'm using this drive since 14 months and have backed up several 100
> > TBs of data. It's the first time this error occured. It also passed
> > all btape tests. The other tapes of this job haven't had any problems.
> >
> > I could read the whole tape with bls without getting an error.
> >
> > No doubt that there was an error, either the tape or the drive had a
> > problem. What frightens me is the fact that there were no error or
> > warning send by bacula. I see the line in the log file, but the job
> > finished with status OK.
> >
> > The only thing that made me look in the log file was the fact that the
> > tape was only half filled. I once had a similar problem. A SCSI error
> > made a tape useless, but the backup ended with status OK. Only the
> > verify job discovered the problem.
> >
> > Shouldn'd bacula notify the user about this problem and change the
> > backup state at least to Warning or Error? Is this something worth a
> > feature request?
> 
> Bacula does produce an Error message.


Yes, in the log file. But the backup ends with 

Termination:            Backup OK


My point is, if the error could lead to serious data loss as you
described in your first mail. And bacula knows about that error, why
not send an email to the contact that is defined in the messages
resource for MailOnError and point out the problem in the final job
output?

Right now it was just luck that I found the problem.

Ralf
~                                           


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users