Mixing topics is ok. Better in this case. All the information is in one
email thread.

26-Feb 12:41 debian1-sd JobId 31: Warning: For Volume "000008L4":
The number of files mismatch! Volume=4 Catalog=3
Correcting Catalog
This message is fairly normal if you restore your catalog backup and lose
some information on backups that exist. There is catalog information
encoded on disk with each backup.

26-Feb 12:41 debian1-sd JobId 31: Error: Backspace record at EOT failed.
I have not seen this error before, but I am not extremely experienced with
Bacula. I suspect your theory is correct.

Warning: destructive / dangerous process ahead.

I have read that if you use mt to rewind the tape and then write eof to the
tape (end of file), it will fool bacula into thinking that the tape is
empty. If you want to wipe the bacula catalog in your postgres server,
there should be scripts that do this in /opt/bacula/scripts (default
location, maybe different on debian).

The Mt command is something like
mt -f /dev/yourtapedrive rewind
mt -f /dev/yourtapedrive -write eof
Check the command syntax I only vaguely remember them.

If not clearing bacula database prob need to purge volumes from catalog (or
maybe delete). Remember, these commands are dangerous and have sharp edges.
After using the Mt command may need to relabel tape.

Robert Gerber
402-237-8692
r...@craeon.net

On Mon, Feb 26, 2024, 5:49 AM Stefan G. Weichinger <li...@xunil.at> wrote:

> Am 24.02.24 um 20:53 schrieb Stefan G. Weichinger:
>
> > I was already able to get the windows-client to work by
> > upgrading/reinstalling the bacula-server part (basically starting from
> > scratch ... didn't matter much, but was a bit of work).
> >
> > The server was older than the client, that seems to have lead to the
> > mentioned error.
> >
> > I also took the chance to get rid of baculum and install bacularis.
>
> The windows-client part seems to work now, but by "losing" my
> postgres-DB/catalog in the process of upgrading/reinstalling I have
> issues with the tapes/volumes.
>
> Is there a fast way to start from scratch? I re-labelled volumes,
> updated slots, edited tapes to status "Append" etc, but Bacula seems
> confused by the tapes ;-)
>
> Stuff like this right now:
>
>
>
> 26-Feb 12:39 debian1-sd JobId 31: Volume "000008L4" previously written,
> moving to end of data.
> 26-Feb 12:41 debian1-sd JobId 31: Warning: For Volume "000008L4":
> The number of files mismatch! Volume=4 Catalog=3
> Correcting Catalog
> 26-Feb 12:41 debian1-sd JobId 31: New volume "000008L4" mounted on
> device "HP-Ultrium4" (/dev/nst0) at 26-Feb-2024 12:41.
> 26-Feb 12:41 debian1-sd JobId 31: Error: Backspace record at EOT failed.
> ERR=Eingabe-/Ausgabefehler
> 26-Feb 12:41 debian1-sd JobId 31: End of medium on Volume "000008L4"
> Bytes=53,687,079,936 Blocks=0 at 26-Feb-2024 12:41.
> 26-Feb 12:41 debian1-sd JobId 31: 3307 Issuing autochanger "unload
> Volume 000008L4, Slot 2, Drive 0" command.
> 26-Feb 12:45 debian1-sd JobId 31: 3304 Issuing autochanger "load Volume
> 000009L4, Slot 3, Drive 0" command.
> 26-Feb 12:46 debian1-sd JobId 31: 3305 Autochanger "load Volume
> 000009L4, Slot 3, Drive 0", status is OK.
> 26-Feb 12:46 debian1-sd JobId 31: Volume "000009L4" previously written,
> moving to end of data.
>
> I have to add that I edited MaximumFileSize from 20GB to 2GB after
> reading the info. Maybe the tapes I wrote with the larger value aren't
> "compatible" now anymore?
>
> Sorry for mixing topics and asking FAQs ... still learning many details.
>
>
>
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to