bareos: master ce0cce74

Author Committer Branch Timestamp Parent
pstorz pstorz master 2022-01-12 15:12 master d79d2da9 Pending
Changeset ndmp: avoid isilon 9.1.0.0 'Invalid nlist.tape_offset -1' error

The isilon 9.1.0.0 release seems to have added a sanity check in ndmp
that checks that the tape offsets are on 512B boundaries.

The following error is issued when a restore is triggered to a isilon
9.1.0.0 system:

  'Invalid nlist.tape_offset -1 at index 1 - tape offset not aligned at 512B boundary'

However, -1 is an allowed value (NDMP_INVALID_U_QUAD) and was accepted
on every NDMP implementation we tested against including older isilon
versions.

To fix the problem, the isilon needs to check for NDMP_INVALID_U_QUAD
before it checks for the 512B boundary to fix the problem.

Otherwise we could enable this workaround depending on a new
configuration option.
mod - core/src/dird/dird_conf.cc Diff File
mod - core/src/dird/dird_conf.h Diff File
mod - core/src/dird/ndmp_dma_restore_NDMP_BAREOS.cc Diff File
mod - core/src/dird/ndmp_dma_restore_common.cc Diff File
mod - core/src/dird/ndmp_dma_restore_common.h Diff File
mod - docs/manuals/source/include/autogenerated/bareos-dir-config-schema.json Diff File
add - docs/manuals/source/manually_added_config_directive_descriptions/dir-director-NdmpNamelistFhinfoSetZeroForInvalidUquad.rst.inc Diff File
mod - systemtests/tests/config-dump/etc/bareos/bareos-dir-full.conf.in Diff File