View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000993 | bareos-core | storage daemon | public | 2018-07-31 11:53 | 2023-09-05 16:54 |
Reporter | IvanBayan | Assigned To | bruno-at-bareos | ||
Priority | normal | Severity | minor | Reproducibility | random |
Status | feedback | Resolution | open | ||
Platform | Linux | OS | Ubuntu | OS Version | 16.04 |
Product Version | 17.2.4 | ||||
Summary | 0000993: bareos-sd complains about corrupted volume, but bls/bextract works fine | ||||
Description | I tried to restore few backups and facede with problem, that storage director complains about corrupted volumes: ------------------------------------------------------ 31-Jul 05:43 mia-backup03-dir JobId 8852: Start Restore Job RestoreFiles.2018-07-31_05.43.05_31 31-Jul 05:43 mia-backup03-dir JobId 8852: Using Device "mia-backup03_storage03" to read. 31-Jul 05:43 mia-backup03_storage03-sd JobId 8852: Ready to read from volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180630-7831-609" on device "mia-backup03_storage03" (/opt/storage/bareos/storage). 31-Jul 05:43 mia-backup03_storage03-sd JobId 8852: Forward spacing Volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180630-7831-609" to file:block 0:307. 31-Jul 05:43 mia-backup03_storage03-sd JobId 8852: Error: block.c:288 Volume data error at 0:307! Wanted ID: "BB02", got ">BB0". Buffer discarded. 31-Jul 05:43 mia-backup03_storage03-sd JobId 8852: Fatal error: fd_cmds.c:236 Command error with FD, hanging up. 31-Jul 05:43 mia-backup03-dir JobId 8852: Error: Bareos mia-backup03-dir 17.2.4 (21Sep17): Build OS: x86_64-pc-linux-gnu ubuntu Ubuntu 16.04 LTS JobId: 8852 Job: RestoreFiles.2018-07-31_05.43.05_31 Restore Client: mia-backup03-fd Start time: 31-Jul-2018 05:43:07 End time: 31-Jul-2018 05:43:08 Elapsed time: 1 sec Files Expected: 128 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: Fatal Error Termination: *** Restore Error *** -------------------------------------------------------------- 31-Jul 05:49 mia-backup03-dir JobId 8853: Start Restore Job RestoreFiles.2018-07-31_05.49.15_47 31-Jul 05:49 mia-backup03-dir JobId 8853: Using Device "mia-backup03_storage03" to read. *messages 31-Jul 05:49 mia-backup03_storage03-sd JobId 8853: Ready to read from volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180721-8489-658" on device "mia-backup03_storage03" (/opt/storage/bareos/storage). 31-Jul 05:49 mia-backup03_storage03-sd JobId 8853: Forward spacing Volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180721-8489-658" to file:block 0:307. 31-Jul 05:49 mia-backup03_storage03-sd JobId 8853: Error: block.c:288 Volume data error at 0:307! Wanted ID: "BB02", got "pBB0". Buffer discarded. 31-Jul 05:49 mia-backup03_storage03-sd JobId 8853: Fatal error: fd_cmds.c:236 Command error with FD, hanging up. 31-Jul 05:49 mia-backup03-dir JobId 8853: Error: Bareos mia-backup03-dir 17.2.4 (21Sep17): Build OS: x86_64-pc-linux-gnu ubuntu Ubuntu 16.04 LTS JobId: 8853 Job: RestoreFiles.2018-07-31_05.49.15_47 Restore Client: mia-backup03-fd Start time: 31-Jul-2018 05:49:17 End time: 31-Jul-2018 05:49:19 Elapsed time: 2 secs Files Expected: 116 Files Restored: 0 Bytes Restored: 0 Rate: 0.0 KB/s FD Errors: 0 FD termination status: OK SD termination status: Fatal Error Termination: *** Restore Error *** ---------------------------------- But when I use bls or bextract no one complain given: ---------------------------------- #bextract /opt/storage/bareos/storage /opt/storage/uncopied-CDRs-fix/7830 -V ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180630-7831-609 ... 31-Jul 05:31 bextract JobId 0: End of Volume at file 0 on device "mia-backup03_storage03" (/opt/storage/bareos/storage), Volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180630-7831-609" 31-Jul 05:31 bextract JobId 0: End of all volumes. 184 files restored. ---------------------------------- # bls -V ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180721-8489-658 /opt/storage/bareos/storage -k|grep -v Block: bls: butil.c:273-0 Using device: "/opt/storage/bareos/storage" for reading. 31-Jul 05:52 bls JobId 0: Ready to read from volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180721-8489-658" on device "mia-backup03_storage03" (/opt/storage/bareos/storage). 31-Jul 05:52 bls JobId 0: End of file 0 on device "mia-backup03_storage03" (/opt/storage/bareos/storage), Volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180721-8489-658" 31-Jul 05:52 bls JobId 0: Got EOM at file 0 on device "mia-backup03_storage03" (/opt/storage/bareos/storage), Volume "ord-uploadcdr01-fd-mia-backup03_WV-CDRs_full-20180721-8489-658" | ||||
Tags | No tags attached. | ||||
Ran in the same problem after upgrading from 16.x to 17.2.4 on CentOS7. It's impossible to restore full or mixed backups. After running new full backups I was able to restore again. |
|
Is this still reproducible with recent version like 22.1.0 ? |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2018-07-31 11:53 | IvanBayan | New Issue | |
2018-08-09 16:21 | trinec | Note Added: 0003100 | |
2018-08-09 16:39 | trinec | Note Edited: 0003100 | |
2018-08-09 16:41 | trinec | Note Edited: 0003100 | |
2018-08-09 16:42 | trinec | Note Edited: 0003100 | |
2018-08-09 16:47 | trinec | Note Edited: 0003100 | |
2023-09-05 16:54 | bruno-at-bareos | Assigned To | => bruno-at-bareos |
2023-09-05 16:54 | bruno-at-bareos | Status | new => feedback |
2023-09-05 16:54 | bruno-at-bareos | Note Added: 0005385 |