Bacula-users

[Bacula-users] Verify VolumeToCatalog not working as expected.

2011-02-14 10:40:17
Subject: [Bacula-users] Verify VolumeToCatalog not working as expected.
From: John Drescher <drescherjm AT gmail DOT com>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Mon, 14 Feb 2011 10:36:55 -0500
For some reason Verify VolumeToCatalog is not working as expected. I
tried to verify a 1.86TB job to verify that the data on the 6 LTO2
tapes is correct with fileset ImageData-ds3-fs but it appears that
bacula is mixed up trying to verify the catalog backup job instead.
Here is the log:

14-Feb 10:23 fileserver-dir JobId 24252: Verifying against JobId=24249
Job=BackupCatalog.2011-02-14_01.10.00_21
14-Feb 10:23 fileserver-dir JobId 24252: Bootstrap records written to
/var/lib/bacula/fileserver-dir.restore.5.bsr
14-Feb 10:23 fileserver-dir JobId 24252: Start Verify JobId=24252
Level=VolumeToCatalog
Job=Verify_ImageData-ds3-Job.2011-02-14_10.23.31_27
14-Feb 10:23 fileserver-dir JobId 24252: Using Device "LTO2-0"
14-Feb 10:25 dev6-sd JobId 24252: acquire.c:117 Changing read device.
Want Media Type="File" have="LTO-2"
  device="LTO2-0" (/dev/nst0)
14-Feb 10:25 dev6-sd JobId 24252: Fatal error: acquire.c:166 No
suitable device found to read Volume "Catalogs-0007"
14-Feb 10:25 datastore3-fd JobId 24252: Fatal error: job.c:2031 Bad
response to Read Data command. Wanted 3000 OK data
, got 3000 error

14-Feb 10:23 fileserver-dir JobId 24252: Warning: The following files
are in the Catalog but not on the Volume(s):
14-Feb 10:23 fileserver-dir JobId 24252:       /var/lib/bacula/bacula.sql
14-Feb 10:23 fileserver-dir JobId 24252: Fatal error: No Job status
returned from FD.
14-Feb 10:23 fileserver-dir JobId 24252: Error: Bacula fileserver-dir
5.0.3 (04Aug10): 14-Feb-2011 10:23:35
  Build OS:               x86_64-pc-linux-gnu gentoo
  JobId:                  24252
  Job:                    Verify_ImageData-ds3-Job.2011-02-14_10.23.31_27
  FileSet:                ImageData-ds3-fs
  Verify Level:           VolumeToCatalog
  Client:                 datastore3-fd
  Verify JobId:           24249
  Verify Job:
  Start time:             14-Feb-2011 10:23:33
  End time:               14-Feb-2011 10:23:35
  Files Expected:         1
  Files Examined:         2,800
  Non-fatal FD errors:    0
  FD termination status:  Error
  SD termination status:  Error
  Termination:            *** Verify Error ***


BTW, the level in this Verify Job was originally DiskToCatalog and I
used the mod command in bconsole to switch it to Volume to Catalog.
Previously I did a "DiskToCatalog" verify and got the expected result.

datastore3-fd Version: 5.0.3 (04 August 2010)  x86_64-pc-linux-gnu gentoo
Daemon started 11-Feb-11 19:53. Jobs: run=9 running=0.
 Heap: heap=626,688 smbytes=15,604 max_bytes=264,665 bufs=60 max_bufs=226
 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0

Running Jobs:
Director connected at: 14-Feb-11 10:33
No Jobs running.
====

Terminated Jobs:
 JobId  Level    Files      Bytes   Status   Finished        Name
======================================================================
 24212  Full          1    3.264 G  OK       11-Feb-11 01:23 BackupCatalog
 24213  Disk    133,209    83.97 G  Cancel   11-Feb-11 21:26
Verify_ImageData-ds3-Job
 24216                1    17.04 M  OK       11-Feb-11 15:32 TMImagesRestore
 24214  Disk   1,464,967    1.861 T  OK       11-Feb-11 21:51
Verify_ImageData-ds3-Job
 24227  Full          1    1.997 G  Error    12-Feb-11 01:20 BackupCatalog
 24238  Full          1    2.996 G  Error    13-Feb-11 01:22 BackupCatalog
 24249  Full          1    3.266 G  OK       14-Feb-11 01:23 BackupCatalog
 24250  Volu          0         0   Error    14-Feb-11 10:22
Verify_ImageData-ds3-Job
 24251  Volu          0         0   Error    14-Feb-11 10:23
Verify_ImageData-ds3-Job
 24252  Volu          0         0   Error    14-Feb-11 10:25
Verify_ImageData-ds3-Job


-- 
John M. Drescher

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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>