Hi Benedict,
Am 13.12.22 um 16:34 schrieb Benedict Ecker (Bene):
However when I am starting a restore job, I encounter problems. The
operation aborts with the error message "Volume data error! Block
checksum mismatch!".
Thats bad. And - unless you wrote your tapes with a version affected by
Bug #1180 - shouldn't happen. Even if you had been hit that Bug, it
should still work if you read and write with the same version (it would
miscalculate the checksum on write and on read, so it would still match).
We currently don't do automated testing with FreeBSD on a real tape
drive, so there might still be some kind of stange bug you've
encountered here.
However, the block checksum calculation happens before the data is
handed off to the device-specific storage backend. So if there is some
kind of problem, you should also see the same behaviour when backing up
to files.
Did you already try that?
In any case, I would love to take a look at the device resource you
configured in the SD.
If you can reproduce the problem with files (which I doubt, as this is
automatically tested during CI), could you provide a sample volume file
(with just two or three files backed up?
If you cannot reproduce the problem with files and it only happens with
tape, would you run a small job (again, just two or three files) to a
fresh or recycled tape, dump the tape-files and send them to me?
To dump the tape files you can just mt rewind the tape and then
dd if=/dev/your-drive of=file-0 bs=<your-blocksize>
dd if=/dev/your-drive of=file-1 bs=<your-blocksize>
...
dd if=/dev/your-drive of=file-N bs=<your-blocksize>
until there is no more files to read (probably there will be just two -
the label block and the backup session)
I really hope we can sort this one out.
Best Regards,
Andreas
--
Andreas Rogge [email protected]
Bareos GmbH & Co. KG Phone: +49 221-630693-86
http://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: S. Dühr, M. Außendorf, J. Steffens, Philipp Storz
--
You received this message because you are subscribed to the Google Groups
"bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/bareos-users/59a22196-e5ea-3029-46e8-3443d3bc8857%40bareos.com.