Re: [Bacula-users] Way to check ANY bacula volume on disk
2015-08-12 14:25:46
Subject: |
Re: [Bacula-users] Way to check ANY bacula volume on disk |
From: |
Ana Emília M. Arruda <emiliaarruda AT gmail DOT com> |
Date: |
Wed, 12 Aug 2015 15:22:38 -0300 |
Sorry, my earlier message was incomplete :)
Hello all,
Looking at the 7.0.5 version code, It seems that the part that checks the checksum error (block_util.c, unser_block_header function) detects the checksum error but does not return the non zero exit code, as occurs in other parts of the code, for other errors found on unserializing the header block.
block->read_errors++; if (!forge_on) { return false; }
Maybe this "if (!forge_on)" should not be there. In the case it was just to let the code:
block->read_errors++;
return false;
I´m not sure if this is the wanted behavior or not. I will try to run some tests to verify this.
Best regards, Ana
------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|