Bacula-users

Re: [Bacula-users] number of files mismatch question

2009-08-06 15:20:05
Subject: Re: [Bacula-users] number of files mismatch question
From: Martin Simmons <martin AT lispworks DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Thu, 6 Aug 2009 20:15:52 +0100
>>>>> On Wed, 05 Aug 2009 12:05:32 -0400, uhog-v9e4  said:
> 
> Hi all,
> 
> I am a new bacula user running 3.02 on Ubuntu 8.04 LTS. I am backing up
> about 7 clients(mix of windows and linux) to a DDS3 tape autochanger. After
> testing and configuring for a few days I went live with this on Sunday with
> a full backup of all clients and doing incrementals Mon-Fri.
> 
> So the problem... Yesterday I had a power outage. Bacula was idle, but there
> was a volume mounted in the drive. Today when the incrementals fired, I got
> an error:

Maybe the power outage caused the drive to corrupt the tape?


> 05-Aug 10:25 pendual-dir JobId 39: Start Backup JobId 39, 
> Job=mrc-vm1-backup.2009-08-05_10.25.39_04
> 05-Aug 10:25 pendual-dir JobId 39: Using Device "Drive-1"
> 05-Aug 10:25 mrc-vm1-fd JobId 39: DIR and FD clocks differ by 12 seconds, FD 
> automatically compensating.
> 05-Aug 10:25 pendual-sd JobId 39: Volume "90m_1_1" previously written, moving 
> to end of data.
> 05-Aug 10:26 pendual-sd JobId 39: Error: Bacula cannot write on tape Volume 
> "90m_1_1" because:
> The number of files mismatch! Volume=1 Catalog=14
> 05-Aug 10:26 pendual-sd JobId 39: Marking Volume "90m_1_1" in Error in 
> Catalog.

Were there any syslog messages at this time?


> It correctly loaded the next volume in the autochanger and did the backups 
> but I'm not sure why I am getting this error? A bls on the volume shows 14 
> files, but does have an interesting entry at the end.
> # bls -j -V 90m_1_1 -c /etc/opt/bacula/conf/bacula-sd.conf Drive-1|tee 
> 90m_1_1.out
> 
> # grep JobId= 90m_1_1.out |grep -v "Volume Record"|wc -l
> 28
> 
> 90m_1_1.out <excerpt>
> ...
> Begin Job Session Record: File:blk=13:1 SessId=3 SessTime=1249401525 JobId=31
>    Job=mrc6320-backup.2009-08-04_17.00.00_06 Date=04-Aug-2009 17:19:06 
> Level=I Type=B
> End Job Session Record: File:blk=13:579 SessId=3 SessTime=1249401525 JobId=31
>    Date=04-Aug-2009 17:24:18 Level=I Type=B Files=417 Bytes=37,303,402 
> Errors=0 Status=T
> 05-Aug 10:16 bls JobId 0: Error: block.c:1010 Read error on fd=3 at file:blk 
> 14:0 on device "Drive-1" (/dev/nst0). ERR=Input/output error.

What is the TWO EOFs setting for the device in Bacula's sd config?  Does this
match the setting in the drive?

__Martin

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>