Hi Philippe
It looks like the first block header of your volume somehow got corrupted.
Could you try to read the first 24 bytes of that volume and send them
here ?
The block header is supposed to look like this:
https://docs.bareos.org/DeveloperGuide/mediaformat.html#block-header
While its probably not possible repair the block header ourselves, we
might be able to identify which byte was not written
and try to put it into a state where bareos will accept it.
Kind Regards
Sebastian Sura
Am 17.06.24 um 16:48 schrieb 'Philippe' via bareos-users:
(re-sending to list)
Hi Andreas,
thanks for clarifying this. So, probably at least after Bareos
throwing the "does not exists" error the file shows up with a size of
61GiB.
Taking a closer look this report seem to have two errors, one
"non-fatal" error saying
Volume data error at 0:256! Wanted ID: "BB02", got "B02". Buffer
discarded.
and the "fatal" error related to the non-existing file at some point
of time.
I don't know what's broken here but since the errors are refering to
different files every day regarding the fatal error but not the
"non-fatal" error, I believe the AI-Incremental-0525 file (which
exists for a month now and is 530M of size) might be corrupted.
12-Jun 12:52 storage JobId 42456: Forward spacing Volume
"AI-Incremental-0525" to file:block 0:256.
12-Jun 12:52 storage JobId 42456: Error: stored/block.cc:291 Volume
data error at 0:256! Wanted ID: "BB02", got "B02". Buffer discarded.
12-Jun 12:52 storage JobId 42456: Fatal error: stored/mac.cc:696
Fatal append error on device "File-Consolidated-storage"
(/backup/bareos-consolidated-tape): ERR=stored/dev.cc:597 Could not
open: /backup/bareos-consolidated-tape/AI-Consolidated-0577, ERR=No
such file or directory
13-Jun 12:54 storage JobId 42515: Forward spacing Volume
"AI-Incremental-0525" to file:block 0:256.
13-Jun 12:54 storage JobId 42515: Error: stored/block.cc:291 Volume
data error at 0:256! Wanted ID: "BB02", got "B02". Buffer discarded.
13-Jun 12:54 storage JobId 42515: Fatal error: stored/mac.cc:696
Fatal append error on device "File-Consolidated-storage"
(/backup/bareos-consolidated-tape): ERR=stored/dev.cc:597 Could not
open: /backup/bareos-consolidated-tape/AI-Consolidated-0578, ERR=No
such file or directory
14-Jun 12:54 storage JobId 42574: Forward spacing Volume
"AI-Incremental-0525" to file:block 0:256.
14-Jun 12:54 storage JobId 42574: Error: stored/block.cc:291 Volume
data error at 0:256! Wanted ID: "BB02", got "B02". Buffer discarded.
14-Jun 12:54 storage JobId 42574: Fatal error: stored/mac.cc:696
Fatal append error on device "File-Consolidated-storage"
(/backup/bareos-consolidated-tape): ERR=stored/dev.cc:597 Could not
open: /backup/bareos-consolidated-tape/AI-Consolidated-0579, ERR=No
such file or directory
15-Jun 13:03 storage JobId 42633: Forward spacing Volume
"AI-Incremental-0525" to file:block 0:256.
15-Jun 13:03 storage JobId 42633: Error: stored/block.cc:291 Volume
data error at 0:256! Wanted ID: "BB02", got "B02". Buffer discarded.
15-Jun 13:03 storage JobId 42633: Fatal error: stored/mac.cc:696
Fatal append error on device "File-Consolidated-storage"
(/backup/bareos-consolidated-tape): ERR=stored/dev.cc:597 Could not
open: /backup/bareos-consolidated-tape/AI-Consolidated-0581, ERR=No
such file or directory
16-Jun 12:51 storage JobId 42692: Forward spacing Volume
"AI-Incremental-0525" to file:block 0:256.
16-Jun 12:51 storage JobId 42692: Error: stored/block.cc:291 Volume
data error at 0:256! Wanted ID: "BB02", got "B02". Buffer discarded.
16-Jun 12:51 storage JobId 42692: Fatal error: stored/mac.cc:696
Fatal append error on device "File-Consolidated-storage"
(/backup/bareos-consolidated-tape): ERR=stored/dev.cc:597 Could not
open: /backup/bareos-consolidated-tape/AI-Consolidated-0583, ERR=No
such file or directory
17-Jun 12:53 storage JobId 42751: Forward spacing Volume
"AI-Incremental-0525" to file:block 0:256.
17-Jun 12:53 storage JobId 42751: Error: stored/block.cc:291 Volume
data error at 0:256! Wanted ID: "BB02", got "B02". Buffer discarded.
17-Jun 12:53 storage JobId 42751: Fatal error: stored/mac.cc:696
Fatal append error on device "File-Consolidated-storage"
(/backup/bareos-consolidated-tape): ERR=stored/dev.cc:597 Could not
open: /backup/bareos-consolidated-tape/AI-Consolidated-0585, ERR=No
such file or directory
So, are some of my backups lost? What can I do here - remove the
nextcloud-jobs and all previous backups and start from scratch?
Kind regards,
Philippe
--
Sebastian Sura [email protected]
Bareos GmbH & Co. KG Phone: +49 221 630693-0
https://www.bareos.com
Sitz der Gesellschaft: Köln | Amtsgericht Köln: HRA 29646
Komplementär: Bareos Verwaltungs-GmbH
Geschäftsführer: Stephan Dühr, Jörg 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/3ca5ba31-1edd-48ce-8d5b-357d6aa93e46%40bareos.com.