Bacula-users

Re: [Bacula-users] Problems with Verify

2009-03-09 18:19:14
Subject: Re: [Bacula-users] Problems with Verify
From: Ralf Gross <Ralf-Lists AT ralfgross DOT de>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 9 Mar 2009 23:10:57 +0100
albremer AT googlemail DOT com schrieb:
> Hello,
> 
> I have a problem with the VolumeToCatalog Verify of one of my backup
> jobs. I always get the error message that some files are in the
> Catalog but not on the volume. However this is not true - I can
> successfully restore files which are being reported as missing.
> 
> I just reinitialized my whole bacula database and tried it with a
> fresh configuration but the logfile always looks the same:
> 
> ####################################################
> 09-Mar 16:06 DIR.linus JobId 3: Verifying against JobId=2
> Job=JOB.Backup.linus.sts.2009-03-09_15.28.04
> 09-Mar 16:06 DIR.linus JobId 3: Bootstrap records written to
> /var/lib/bacula/DIR.linus.restore.1.bsr
> 09-Mar 16:06 DIR.linus JobId 3:
> 09-Mar 16:06 DIR.linus JobId 3: The job will require the following
>    Volume(s)                 Storage(s)                SD Device(s)
> ===========================================================================
> 09-Mar 16:06 DIR.linus JobId 3:
> 09-Mar 16:06 DIR.linus JobId 3:    VOL-MANUAL-0001
> STORE.FileStorage         DEV.FileStorage
> 09-Mar 16:06 DIR.linus JobId 3:
> 09-Mar 16:06 DIR.linus JobId 3: Start Verify JobId=3
> Level=VolumeToCatalog Job=JOB.Verify.linus.sts.2009-03-09_16.06.06
> 09-Mar 16:06 DIR.linus JobId 3: Using Device "DEV.FileStorage"
> 09-Mar 16:06 SD.xen JobId 3: Ready to read from volume
> "VOL-MANUAL-0001" on device "DEV.FileStorage"
> (/local/var/backup/volumes).
> 09-Mar 16:06 SD.xen JobId 3: Forward spacing Volume "VOL-MANUAL-0001"
> to file:block 0:199.
> 09-Mar 16:11 SD.xen JobId 3: End of Volume at file 7 on device
> "DEV.FileStorage" (/local/var/backup/volumes), Volume
> "VOL-MANUAL-0001"
> 09-Mar 16:11 SD.xen JobId 3: End of all volumes.
> 09-Mar 16:11 DIR.linus JobId 3:
> The following files are in the Catalog but not on the Volume(s):
> <... VERY LONG LIST OF FILES...>
> 09-Mar 16:11 DIR.linus JobId 3: Bacula DIR.linus 2.2.8 (26Jan08):
> 09-Mar-2009 16:11:59
>   Build OS:               x86_64-pc-linux-gnu debian lenny/sid
>   JobId:                  3
>   Job:                    JOB.Verify.linus.sts.2009-03-09_16.06.06
>   FileSet:                FSET.linus.sts
>   Verify Level:           VolumeToCatalog
>   Client:                 CLIENT.linus
>   Verify JobId:           2
>   Verify Job:             JOB.Backup.linus.sts
>   Start time:             09-Mar-2009 16:06:23
>   End time:               09-Mar-2009 16:11:59
>   Files Expected:         70,966
>   Files Examined:         70,966
>   Non-fatal FD errors:    0
>   FD termination status:  OK
>   SD termination status:  OK
>   Termination:            Verify Differences
> #########################################
> 
> Bacula always seems to think that the end of volume is reached:
> ---------------------
> 09-Mar 16:11 SD.xen JobId 3: End of Volume at file 7 on device
> "DEV.FileStorage" (/local/var/backup/volumes), Volume
> "VOL-MANUAL-0001"
> --------------------
> 
> There are no other errors and I can successfully restore files which
> are reported as missing.
> Any Ideas?


I have problems with verify jobs that are running on clients with the
heartbeat option enabled. This is a bug in bacula < 3.0.

It looks a bit different than your problem, but if you've enabled the
hearbeat option, try disabling it.

Ralf

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users