View Issue Details

IDProjectCategoryView StatusLast Update
0000381bareos-corestorage daemonpublic2015-03-25 19:19
Reporterpstorz Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSanyOS Version3
Product Version14.2.2 
Fixed in Version14.2.2 
Summary0000381: btape tests fail on blocksizes > 256k
Descriptionbtape test fail on blocksizes > 256k
Steps To Reproduceconfigure a blocksize of 1M and run btape test.

Block 3617 always fails
Additional Informationbtape: 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.
TagsNo tags attached.

Activities

pstorz

pstorz

2014-12-22 13:04

administrator   ~0001146

Fix committed to bareos master branch with changesetid 2584.
mvwieringen

mvwieringen

2014-12-24 14:21

developer   ~0001161

Fix committed to bareos bareos-14.2 branch with changesetid 2596.
mvwieringen

mvwieringen

2015-01-08 14:01

developer   ~0001174

Fix committed to bareos Release branch with changesetid 2613.
mvwieringen

mvwieringen

2015-03-25 16:51

developer   ~0001405

Fix committed to bareos2015 bareos-14.2 branch with changesetid 4493.
joergs

joergs

2015-03-25 19:19

developer   ~0001647

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.

Related Changesets

bareos: master f9305b56

2014-12-22 12:08

pstorz

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

pstorz


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

pstorz


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

pstorz


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

pstorz


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

Issue History

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 mvwieringen adm Assigned To mvwieringen =>
2015-01-26 15:59 mvwieringen adm 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