View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000381 | bareos-core | storage daemon | public | 2014-12-22 12:06 | 2015-03-25 19:19 |
Reporter | pstorz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | any | OS Version | 3 |
Product Version | 14.2.2 | ||||
Fixed in Version | 14.2.2 | ||||
Summary | 0000381: btape tests fail on blocksizes > 256k | ||||
Description | btape test fail on blocksizes > 256k | ||||
Steps To Reproduce | configure a blocksize of 1M and run btape test. Block 3617 always fails | ||||
Additional Information | btape: btape.c:1165-0 Wrote 10000 blocks of 1048476 bytes. btape: btape.c:612-0 Wrote 1 EOF to "triky_cinta.de" (/dev/st0) btape: btape.c:1181-0 Wrote 10000 blocks of 1048476 bytes. btape: btape.c:612-0 Wrote 1 EOF to "triky_cinta.de" (/dev/st0) btape: btape.c:1223-0 Rewind OK. Got EOF on tape. btape: btape.c:1241-0 Read block 3617 failed! ERR=Conseguido Obviously there is an overflow when calculating the maximum file size, which leads to a eof being written to the tape where btape does not expect it. Then during the read of the data the unexpected eof lets the test fail. | ||||
Tags | No tags attached. | ||||
Fix committed to bareos master branch with changesetid 2584. | |
Fix committed to bareos bareos-14.2 branch with changesetid 2596. | |
Fix committed to bareos Release branch with changesetid 2613. | |
Fix committed to bareos2015 bareos-14.2 branch with changesetid 4493. | |
Due to the reimport of the Github repository to bugs.bareos.org, the status of some tickets have been changed. These tickets will be closed again. Sorry for the noise. |
|
bareos: master f9305b56 2014-12-22 12:08 Ported: N/A Details Diff |
Fix btape bug with big blocksizes there is an overflow when calculating the maximum file size, which leads to a eof being written to the tape where btape does not expect it. Then during the read of the data the unexpected eof lets the test fail. This fix corrects this overflow. We also set a higher debug level on the block writings in block.c Fixes 0000381: btape tests fail on blocksizes > 256k |
Affected Issues 0000381 |
|
mod - src/stored/block.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
bareos: bareos-14.2 93369680 2014-12-22 12:08 Committer: mvwieringen Ported: N/A Details Diff |
Fix btape bug with big blocksizes there is an overflow when calculating the maximum file size, which leads to a eof being written to the tape where btape does not expect it. Then during the read of the data the unexpected eof lets the test fail. This fix corrects this overflow. We also set a higher debug level on the block writings in block.c Fixes 0000381: btape tests fail on blocksizes > 256k |
Affected Issues 0000381 |
|
mod - src/stored/block.c | Diff File | ||
mod - src/stored/btape.c | Diff File | ||
bareos: Release 97762490 2014-12-22 13:08 Committer: mvwieringen Ported: N/A Details Diff |
Fix btape bug with big blocksizes there is an overflow when calculating the maximum file size, which leads to a eof being written to the tape where btape does not expect it. Then during the read of the data the unexpected eof lets the test fail. This fix corrects this overflow. We also set a higher debug level on the block writings in block.c Fixes 0000381: btape tests fail on blocksizes > 256k |
Affected Issues 0000381 |
|
mod - src/stored/btape.c | Diff File | ||
bareos2015: bareos-13.2 e09325d2 2014-12-22 13:08 Committer: mvwieringen Ported: N/A Details Diff |
Fix btape bug with big blocksizes there is an overflow when calculating the maximum file size, which leads to a eof being written to the tape where btape does not expect it. Then during the read of the data the unexpected eof lets the test fail. This fix corrects this overflow. We also set a higher debug level on the block writings in block.c Fixes 0000381: btape tests fail on blocksizes > 256k |
Affected Issues 0000381 |
|
mod - src/stored/btape.c | Diff File | ||
bareos2015: bareos-14.2 b5339403 2014-12-22 13:08 Committer: mvwieringen Ported: N/A Details Diff |
Fix btape bug with big blocksizes there is an overflow when calculating the maximum file size, which leads to a eof being written to the tape where btape does not expect it. Then during the read of the data the unexpected eof lets the test fail. This fix corrects this overflow. We also set a higher debug level on the block writings in block.c Fixes 0000381: btape tests fail on blocksizes > 256k |
Affected Issues 0000381 |
|
mod - src/stored/block.c | Diff File | ||
mod - src/stored/btape.c | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-12-22 12:06 | pstorz | New Issue | |
2014-12-22 12:06 | pstorz | Status | new => assigned |
2014-12-22 12:06 | pstorz | Assigned To | => pstorz |
2014-12-22 13:04 | pstorz | Changeset attached | => bareos master f9305b56 |
2014-12-22 13:04 | pstorz | Note Added: 0001146 | |
2014-12-22 13:04 | pstorz | Status | assigned => resolved |
2014-12-22 13:04 | pstorz | Resolution | open => fixed |
2014-12-24 14:21 | mvwieringen | Changeset attached | => bareos bareos-14.2 93369680 |
2014-12-24 14:21 | mvwieringen | Note Added: 0001161 | |
2014-12-24 14:21 | mvwieringen | Assigned To | pstorz => mvwieringen |
2015-01-08 14:01 | mvwieringen | Changeset attached | => bareos Release 97762490 |
2015-01-08 14:01 | mvwieringen | Note Added: 0001174 | |
2015-01-26 15:59 |
|
Assigned To | mvwieringen => |
2015-01-26 15:59 |
|
Additional Information Updated | |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-13.2 e09325d2 |
2015-03-25 16:51 | mvwieringen | Changeset attached | => bareos2015 bareos-14.2 b5339403 |
2015-03-25 16:51 | mvwieringen | Note Added: 0001405 | |
2015-03-25 19:05 | joergs | Fixed in Version | => 14.2.2 |
2015-03-25 19:19 | joergs | Note Added: 0001647 | |
2015-03-25 19:19 | joergs | Status | resolved => closed |