On 03/28/2011 11:10 AM, Mike Carlson wrote:
I'm getting a "Requested Volume is not a Bacula labled Volume, because: ERR=block.c:318 Volume data error at 0:0!" at the beginning of a restore for disk based backups.

Here is what the console is showing:

    8-Mar 10:52 write.llnl.gov-dir JobId 31259: Start Restore Job
    home-server01_RestoreFiles.2011-03-28_10.52.49_58
    28-Mar 10:52 write-dir JobId 31259: Using Device "W03FileStorageD2"
    28-Mar 10:52 write-03-sd JobId 31259: Error: block.c:318 Volume
    data error at 0:0!
    Block checksum mismatch in block=0 len=236: calc=2013bfbd blk=0
    28-Mar 10:52 write-03-sd JobId 31259: Warning: acquire.c:265 Read
    acquire: Requested Volume "home-server01FileVol1814" on
    "W03FileStorageD2" (/filevol001/drive02) is not a Bacula labeled
    Volume, because: ERR=block.c:318 Volume data error at 0:0!
    Block checksum mismatch in block=0 len=236: calc=2013bfbd blk=0

If I do a status of that storage volume:

    write-03-sd Version: 5.0.3 (04 August 2010)
    amd64-portbld-freebsd8.1 freebsd 8.1-RELEASE
    Daemon started 28-Mar-11 10:37. Jobs: run=3, running=2.
     Heap: heap=0 smbytes=4,602,100 max_bytes=4,730,952 bufs=9,452
    max_bufs=9,457
    Sizes: boffset_t=8 size_t=8 int32_t=4 int64_t=8

    Running Jobs:
    Reading: Full Restore job home-server01_RestoreFiles JobId=31259
    Volume="home-server01FileVol1814"
        pool="home-server01-File" device="W03FileStorageD2"
    (/filevol001/drive02)
        Files=0 Bytes=0 Bytes/sec=0
        FDReadSeqNo=6 in_msg=6 out_msg=4 fd=7
    ====

    Jobs waiting to reserve a drive:
    ====
    Device "W03FileStorageD2" (/filevol001/drive02) open but no Bacula
    volume is currently mounted.
        Device is BLOCKED waiting for mount of volume
    "home-server01FileVol1814",
           Pool:        home-server01-File
           Media type:  File
        Total Bytes Read=0 Blocks Read=0 Bytes/block=0
        Positioned at File=0 Block=0
    ====

    Used Volume status:
    home-server01FileVol0343 read volume JobId=31259
    home-server01FileVol10530 read volume JobId=31259
    home-server01FileVol1814 read volume JobId=31259
    home-server01FileVol1907 read volume JobId=31259
    ====

    ====

On the storage node, here are the actual bacula files, and they all seem legitimate files:

    write-03# ll
    total 1376883924
    -rw-r-----  1 bacula  bacula  15360510357 Mar 26 21:20
    home-server01FileVol0343
    -rw-r-----  1 bacula  bacula  15632880537 Mar 22 21:20
    home-server01FileVol10530
    -rw-r-----  1 bacula  bacula  53687090941 Jan 25 12:52
    home-server01FileVol1773
    -rw-r-----  1 bacula  bacula  53687090599 Jan 25 16:01
    home-server01FileVol1774
    -rw-r-----  1 bacula  bacula  53687091100 Jan 25 18:24
    home-server01FileVol1775
    -rw-r-----  1 bacula  bacula  53687091009 Jan 25 20:45
    home-server01FileVol1777
    -rw-r-----  1 bacula  bacula  53687091031 Jan 25 22:53
    home-server01FileVol1788
    -rw-r-----  1 bacula  bacula  53687091063 Jan 26 01:10
    home-server01FileVol1802
    -rw-r-----  1 bacula  bacula  53687090908 Jan 26 03:39
    home-server01FileVol1803
    -rw-r-----  1 bacula  bacula  53687091002 Jan 26 06:17
    home-server01FileVol1805
    -rw-r-----  1 bacula  bacula  53687090882 Jan 26 08:52
    home-server01FileVol1807
    -rw-r-----  1 bacula  bacula  53687091077 Jan 26 11:05
    home-server01FileVol1809
    -rw-r-----  1 bacula  bacula  53687090943 Jan 26 13:26
    home-server01FileVol1810
    -rw-r-----  1 bacula  bacula  53687090815 Jan 26 16:12
    home-server01FileVol1814
    -rw-r-----  1 bacula  bacula  53687090976 Jan 26 19:04
    home-server01FileVol1822
    -rw-r-----  1 bacula  bacula  53687090971 Jan 26 20:55
    home-server01FileVol1859
    -rw-r-----  1 bacula  bacula  53687091083 Jan 26 23:08
    home-server01FileVol1883
    -rw-r-----  1 bacula  bacula  53687091061 Jan 27 01:14
    home-server01FileVol1907
    -rw-r-----  1 bacula  bacula  53687091041 Jan 27 03:45
    home-server01FileVol1909
    -rw-r-----  1 bacula  bacula  53687090947 Jan 27 05:59
    home-server01FileVol1913
    -rw-r-----  1 bacula  bacula  53687091095 Jan 27 08:09
    home-server01FileVol1914
    -rw-r-----  1 bacula  bacula  53687091028 Jan 27 10:30
    home-server01FileVol1917
    -rw-r-----  1 bacula  bacula  53687090963 Jan 27 12:35
    home-server01FileVol1924
    -rw-r-----  1 bacula  bacula  48064580487 Jan 28 20:32
    home-server01FileVol1933
    -rw-r-----  1 bacula  bacula  20015656762 Feb  1 21:20
    home-server01FileVol1993
    -rw-r-----  1 bacula  bacula  16575805211 Feb  7 21:16
    home-server01FileVol2209
    -rw-r-----  1 bacula  bacula  35114951630 Feb 15 21:30
    home-server01FileVol2667
    -rw-r-----  1 bacula  bacula  18053909276 Feb 21 21:11
    home-server01FileVol2980
    -rw-r-----  1 bacula  bacula  16943878867 Feb 26 21:17
    home-server01FileVol3151
    -rw-r-----  1 bacula  bacula  24214163049 Mar  4 21:31
    home-server01FileVol3344
    -rw-r-----  1 bacula  bacula  26361849101 Mar 10 21:20
    home-server01FileVol5357
    -rw-r-----  1 bacula  bacula  15702985952 Mar 16 21:21
    home-server01FileVol8457

I can even do a simple "strings | head" of the volume that is in question:

    strings home-serverFileVol1814|head
    BB02
    Bacula 1.0 immortal
    home-serverFileVol1814
    home-server-File
    Backup
    File
    write-03
    write-03-sd
    Ver. 5.0.3 04 August 2010
    Build Nov 24 2010 10:55:07


Is there anyway to continue this restore job? Its not doing much else besides waiting for the volume "home-server01FileVol1814".

Mike C

I ended up figuring this out...

I had recently changed the bacula-sd.conf from using " Maximum Block Size = 262144", to whatever the default value is. I didn't realize that by undoing this, all previous backups would no longer be readable (since I guess the SD is expecting a different block size?). So, I added that back into the device definition on the SD and the restore went through.

Mike C
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and publish 
your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to