-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Martin Simmons wrote: >>>>>> On Wed, 29 Apr 2009 16:45:17 +0200, SZÉKELYI Szabolcs said: >> Hi, >> >> We configured our tape storage with >> >> Two EOF = Yes >> BSF at EOM = Yes >> >> and found that this works fine as long as the tape is not ejected and >> reloaded. After that, Bacula complains about number of files on the >> volume not matching that recorded in the catalog. > > What is the number of files on the volume and the catalog in the error > message?
Bacula says it can find only 686 files on the tape while there sould be 687. Here's the exact log from Bacula: - ---8<------------------------------------------------ 10-Apr 22:55 bacula-sd JobId 93: 3307 Issuing autochanger "unload slot 25, drive 1" command. 10-Apr 22:57 bacula-dir JobId 93: Using Device "bacula-LTO3-0-Device" 10-Apr 22:57 bacula-sd JobId 93: 3301 Issuing autochanger "loaded? drive 1" command. 10-Apr 22:57 bacula-sd JobId 93: 3302 Autochanger "loaded? drive 1", result: nothing loaded. 10-Apr 22:57 bacula-sd JobId 93: 3304 Issuing autochanger "load slot 21, drive 1" command. 10-Apr 22:58 bacula-sd JobId 93: 3305 Autochanger "load slot 21, drive 1", status is OK. 10-Apr 22:58 bacula-sd JobId 93: Volume "000021" previously written, moving to end of data. 10-Apr 22:59 bacula-sd JobId 93: Error: Bacula cannot write on tape Volume "000021" because: The number of files mismatch! Volume=686 Catalog=687 10-Apr 22:59 bacula-sd JobId 93: Marking Volume "000021" in Error in Catalog. 10-Apr 22:59 bacula-sd JobId 93: 3307 Issuing autochanger "unload slot 21, drive 1" command. - ---8<------------------------------------------------ > Which operating system and version of Bacula? The OS is CentOS 5.3. Since we were unable to find official packages for CentOS, our installation of Bacula is a simple rebuild of bacula-2.4.4-1.fc10.src.rpm found in the Fedora source repository. Thanks, - -- cc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (Darwin) iEYEARECAAYFAkn7hMkACgkQGJRwVVqzMkN+fgCfY23h1JcYkQqUpZXG8M3mzEIx 5wQAoINmD2X/PZq0b6nz/8kN0eg5C73o =IPJP -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users