Bacula-users

Re: [Bacula-users] Checksum warnings during backup?

2010-07-01 08:42:17
Subject: Re: [Bacula-users] Checksum warnings during backup?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 1 Jul 2010 13:37:52 +0100
>>>>> On Thu, 01 Jul 2010 13:10:38 +0200, Andreas Koch said:
> 
> On 06/30/2010 12:55 PM, Martin Simmons wrote:
> >>>>>> On Tue, 29 Jun 2010 18:06:41 +0200, Andreas Koch said:
> >>
> >> Can no one help with this? I'm somewhat worried that the many lines of
> >>
> >>    Warning: Can't verify checksum for (filename...)
> >>
> >> during backup indicate a configuration problem and I fear for the 
> >> consistency
> >> of our data.
> >
> > The warning means that the checksum wasn't sent to the File Daemon, so it
> > couldn't check it.
> >
> > Does it happen for every file?
> 
> No, only for very few ones. For example, the following files from our root 
> file system get the warning:
> 
> /usr/kde/3.5/share/doc/HTML/en/kpovmodeler/cr22-action-pmrender.png
> /usr/kde/3.5/share/icons/hicolor/48x48/apps/kfax.png
> /usr/kde/3.5/share/icons/hicolor/16x16/apps/kfax.png
> /usr/kde/3.5/share/icons/hicolor/scalable/apps/kfaxview.svgz
> /usr/kde/3.5/share/icons/hicolor/22x22/apps/kfax.png
> /usr/kde/3.5/share/icons/hicolor/32x32/apps/kfax.png
> /usr/kde/3.5/share/icons/crystalsvg/16x16/actions/palette_lineart.png
> /usr/kde/3.5/share/apps/kile/pics/type_Article.tex.kileicon
> /usr/share/man/man3/uuid_generate_random.3.bz2
> /usr/share/man/man8/ramsize.8.bz2
> /usr/share/man/man8/linux32.8.bz2
> /usr/share/man/man8/x86_64.8.bz2
> /usr/share/man/man8/linux64.8.bz2
> /usr/share/man/man8/rootflags.8.bz2
> /usr/share/emacs/23.1/etc/images/undo.pbm
> /usr/share/cups/templates/class-jobs-header.tmpl
> /usr/share/icons/hicolor/16x16/apps/vnd.adobe.xdp+xml.png
> /usr/share/postgresql-8.4/man/man7/table.7.bz2
> /usr/include/xulrunner-1.9.1/unstable/jdk_java_lang_String.h
> /usr/src/linux-2.6.32.9/firmware/radeon/RV635_pfp.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/radeon/RV670_pfp.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/radeon/RV630_pfp.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/radeon/RV620_pfp.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/radeon/RV610_me.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/radeon/RV630_me.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/radeon/RV710_pfp.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/adaptec/starfire_rx.bin.ihex
> /usr/src/linux-2.6.32.9/firmware/mts_cdma.fw.ihex
> /usr/src/linux-2.6.32.9/arch/microblaze/include/asm/hw_irq.h
> /usr/src/linux-2.6.32.9/arch/microblaze/include/asm/user.h
> /usr/src/linux-2.6.32.9/arch/microblaze/include/asm/cputable.h
> /usr/src/linux-2.6.32.9/drivers/staging/otus/hal/hpfwu.c
> /usr/libexec/bacula/updatedb/update_sqlite_tables_9_to_10.in
> /usr/lib/xulrunner-1.9.1/res/table-remove-row-hover.gif
> /usr/lib/xulrunner-1.9.1/res/table-remove-column.gif
> /usr/lib/xulrunner-1.9.1/res/table-remove-row-active.gif
> /usr/lib/mozilla-thunderbird/include/java/jdk_java_lang_String.h
> /usr/lib/mozilla-thunderbird/res/table-remove-row-hover.gif
> /usr/lib/mozilla-thunderbird/res/table-remove-column.gif
> /usr/lib/mozilla-thunderbird/res/html/gopher-sound.gif
> /usr/lib/mozilla-thunderbird/res/table-remove-row-active.gif
> 
> The files themselves look normal permission-wise:
> 
> 8.0K -rw-r--r-- 5 root root 6.2K Dec  3  2009 
> /usr/src/linux-2.6.32.9/firmware/radeon/RV635_pfp.bin.ihex
> 
> The situation is similar for other file systems.
> 
> We have been running another differential by now, and always the _same_ files 
> get the warnings. The files are all older than the last full backup and have 
> not been changed between full abd differential runs.

Does the FileSet have just one Include section and one Options section?  If it
is more complicated than that, please post it.

Can you repeat it with a FileSet containing only a few files (maybe try
/usr/share/postgresql-8.4/man/man7)?

You could try runing the bacula-fd with debug level 100 and look for messages
like

add fname=<...> lstat=... chksum=...

in the debug output of the Differential job (it could be large).

What is the add fname message for a file that gives the warning?  
What is the add fname message for a file that doesn't give the warning?  

__Martin


> 
> Still stumped,

Me too -- it looks like a bug.


>    Andreas
> 
> 
> > Can you repeat it with a small test using only
> > a few files?
> >
> > __Martin
> >
> >
> >
> >
> >>
> >> Any hints would be appreciated,
> >>     Andreas Koch
> >>
> >>
> >> On 06/21/2010 01:41 PM, Andreas Koch wrote:
> >>> Hi all,
> >>>
> >>> after switching to Bacula 5.0.2, I have been receiving that message 
> >>> during our
> >>> first differential backup for hundreds of files. What does it mean? Do I 
> >>> have
> >>> a problem?
> >>>
> >>> I haven't been able to find anything useful in the documentation or on the
> >>> mailing list and would be grateful for any hints.
> >>>
> >>> For reference, I am using Accurate = yes with
> >>>
> >>> FileSet {
> >>>      Name = "FullSet"
> >>>      Include {
> >>>        Options {
> >>>          signature = SHA1;
> >>>          verify=pins1;
> >>>          accurate=pins1;
> >>>        }
> >>> ...
> >>>
> >>> Many thanks,
> >>>      Andreas Koch
> >>>
> >>> ------------------------------------------------------------------------------
> >>> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> >>> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> >>> lucky parental unit.  See the prize list and enter to win:
> >>> http://p.sf.net/sfu/thinkgeek-promo
> >>> _______________________________________________
> >>> Bacula-users mailing list
> >>> Bacula-users AT lists.sourceforge DOT net
> >>> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >>
> >> ------------------------------------------------------------------------------
> >> This SF.net email is sponsored by Sprint
> >> What will you do first with EVO, the first 4G phone?
> >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> >> _______________________________________________
> >> Bacula-users mailing list
> >> Bacula-users AT lists.sourceforge DOT net
> >> https://lists.sourceforge.net/lists/listinfo/bacula-users
> >>
> >
> > ------------------------------------------------------------------------------
> > This SF.net email is sponsored by Sprint
> > What will you do first with EVO, the first 4G phone?
> > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> > _______________________________________________
> > Bacula-users mailing list
> > Bacula-users AT lists.sourceforge DOT net
> > https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 
> -- 
> Prof. Dr. Andreas Koch                       koch AT esa.cs.tu-darmstadt DOT 
> de
> Technische Universität Darmstadt, FB20        Phone  : x49-6151-16-4378
> Embedded Systems and Applications Group (ESA) FAX    : x49-6151-16-5472
> Hochschulstr. 10, D-64289 Darmstadt, Germany       * PGP key available *
> 

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users