Bacula-users

Re: [Bacula-users] Problems with Verify

2009-03-12 04:04:47
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: Thu, 12 Mar 2009 08:52:00 +0100
Alex Bremer schrieb:
> 2009/3/11, Ralf Gross <Ralf-Lists AT ralfgross DOT de>:
> > So the volume only has 7 volume files (markers/chunks). You could add
> > -d 100 or 200 to the daemon options in the bacula-fd start script on
> > the client where the verify is running and redirect the output to a
> > file.
> 
> Thanks for that tip. I added -d 100 to all of the start scripts and it
> seems that the director has produced some output. Unfortunately I
> can't see some real error messages. Could you please have a look at
> these log snippets:
> 
> #########################
> DIR.linus: verify.c:308-0 Verify level=volume
> DIR.linus: verify.c:511-0 bdird: waiting to receive file attributes
> DIR.linus: getmsg.c:110-0 bget_dirmsg 94: CatReq
> Job=JOB.Verify.linus.sts.2009-03-11_23.05.10 GetVolInfo
> VolName=VOL-DAILY-0005 write=0
> DIR.linus: catreq.c:125-0 catreq CatReq
> Job=JOB.Verify.linus.sts.2009-03-11_23.05.10 GetVolInfo
> VolName=VOL-DAILY-0005 write=0
> DIR.linus: catreq.c:162-0 CatReq GetVolInfo Vol=VOL-DAILY-0005
> DIR.linus: catreq.c:100-0 Vol Info for
> JOB.Verify.linus.sts.2009-03-11_23.05.10: 1000 OK
> VolName=VOL-DAILY-0005 VolJobs=6 VolFiles=0 VolBlocks=3101
> VolBytes=1997757
> 22 VolMounts=6 VolErrors=0 VolWrites=3102 MaxVolBytes=0
> VolCapacityBytes=0 VolStatus=Append Slot=0 MaxVolJobs=0 MaxVolFiles=0
> InChanger=0 VolReadTime=67160 VolWrite
> Time=2909031 EndFile=0 EndBlock=199775721 VolParts=0 LabelType=0 MediaId=15
> 
> DIR.linus: getmsg.c:110-0 bget_dirmsg 65: Status
> Job=JOB.Verify.linus.sts.2009-03-11_23.05.10 JobStatus=82
> DIR.linus: getmsg.c:110-0 bget_dirmsg 78: 1 1 pinsug5
> /etc/mtabDIR.linus: verify.c:570-0 dird<filed: stream=1 /etc/mtab
> DIR.linus: verify.c:571-0 dird<filed: attr=gB uL7 IGk B A A A Kw BAA I
> BJt9U3 BJt9Uc BJt9Uc A A E
> DIR.linus: sql_get.c:73-0 db_get_file_att_record fname=/etc/mtab
> DIR.linus: sql_get.c:127-0 Get_file_record JobId=24 FilenameId=400 PathId=4
> DIR.linus: sql_get.c:129-0 Query=SELECT FileId, LStat, MD5 FROM File
> WHERE File.JobId=24 AND File.PathId=4 AND File.FilenameId=400
> DIR.linus: sql_get.c:133-0 get_file_record num_rows=1
> DIR.linus: getmsg.c:110-0 bget_dirmsg 34: 1 3 2Rbc8OK+ZewbwtlOvYc13Q
> *MD5-1*DIR.linus: getmsg.c:110-0 bget_dirmsg 79: 2 1 pinsug5
> /etc/fstabDIR.linus: verify.c:570-0 dird<filed: stream=1 /etc/fstab
> DIR.linus: verify.c:571-0 dird<filed: attr=gB uBb IGk B A A A Js BAA I
> BJt9Uc BJt9UY BJt9UY A A E
> DIR.linus: sql_get.c:73-0 db_get_file_att_record fname=/etc/fstab
> 
> DIR.linus: sql_get.c:127-0 Get_file_record JobId=24 FilenameId=8 PathId=6603
> DIR.linus: sql_get.c:129-0 Query=SELECT FileId, LStat, MD5 FROM File
> WHERE File.JobId=24 AND File.PathId=6603 AND File.FilenameId=8
> DIR.linus: sql_get.c:133-0 get_file_record num_rows=2
> DIR.linus: getmsg.c:110-0 bget_dirmsg 111: 882 1 pinsug5
> /symanto/home/amaret/.bash_historyDIR.linus: verify.c:570-0
> dird<filed: stream=1 /symanto/home/amaret/.bash_history
> DIR.linus: verify.c:571-0 dird<filed: attr=gE BCiDl IGA B BOI fR A CBF
> BAA Y BJtuQ6 BJt/75 BJt/75 A A E
> DIR.linus: sql_get.c:73-0 db_get_file_att_record
> fname=/symanto/home/amaret/.bash_history
> ####################
> 
> The first block is just the info which was logged when the job was
> started. The second block is a file which can be verified sucessfully
> and the last block is a file which bacula claims to be in the catalog
> but not on the volume.

The verify is done in the fd, so I would addd the debug option there
too. And also to the sd, because if bacula complains about a file that
is missing on the volume, you might find the answer there.

Ralf

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users