When the volume has less files than the
catalog, you are in a *very* bad situation.
Perhaps you never ran the btape test command to ensure that your
tape drive was
configured correctly, because it looks like Bacula thinks there is
nothing on your tape.
Best regards,
Kern
On 10/18/2016 10:50 AM, Gi Dot wrote:
Hi all,
It is quite frequent that my backup job ending up with the
"The number of files mismatch!" error. What could be the
root cause of this?
Full error from log:
17-Oct 17:05 srv2-dir JobId 54: shell command: run BeforeJob
"/usr/lib64/bacula/ make_catalog_backup.pl
MyCatalog"
17-Oct 17:05 srv2-dir JobId 54: Start Backup JobId 54,
Job=ApplicationBackup_Server2.2016-10-17_17.05.04_04
17-Oct 17:05 srv2-dir JobId 54: Using Device "ibm-dds6"
17-Oct 17:05 srv2-sd JobId 54: Volume "srv2-set1-sun"
previously written, moving to end of data.
17-Oct 17:05 srv2-sd JobId 54: Error: Bacula cannot write on
tape Volume "srv2-set1-sun" because:
The number of files mismatch! Volume=0 Catalog=1
17-Oct 17:05 srv2-sd JobId 54: Marking Volume
"srv2-set1-sun" in Error in Catalog.
17-Oct 17:05 srv2-sd JobId 54: Please mount Volume
"srv2-set2-sun" or label a new one for:
Job:
ApplicationBackup_Server2.2016-10-17_17.05.04_04
Storage: "ibm-dds6" (/dev/nst0)
Pool: SundayPool
Media type: DDS6
I am using IBM DDS6 tape. My sd, pool and job config:
https://dpaste.de/QBW9
Thanks.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users