Data Domain: Netbackup restores failing due to a changed SIZE_DATA_BUFFERS_DISK to 1048576 (1MB)

Summary: NetBackup restores failing due to a changed SIZE_DATA_BUFFERS_DISK to 1048576 (1MB) (or a value that is similar)

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Briefly describe the symptoms of the issue.

1. The Following errors are seen which points to Invalid input provided to the ddp_read() function.
Note the "BytesToRead 1049088"
 
# grep "Invalid Input" ddfs.info
04/05 12:11:53.220 (tid 0x7f10d4c767d0): WARNING: ddboost-<NBUhostname-49556>: ddboost_api ERROR: ddp_read() failed Offset 6447663616, BytesToRead 1049088, BytesRead 0 Err: 5008-Invalid Input
04/05 13:13:36.543 (tid 0x7f2e6250fba0): WARNING: ddboost-<NBUhostname-51986>: ddboost_api ERROR: ddp_read() failed Offset 2152738304, BytesToRead 1049088, BytesRead 0 Err: 5008-Invalid Input

2. The DD Boost client code invalidates the input parameters for ddp_read() as the max size is 1048576 (1024*1024)  (In the example above: "BytesToRead 1049088", but any value above max is invalid)


3. The bytes to be read are provided by the application. Review of NBU ADMIN logs show that there are multiple occurrences of the below error scenario. (Again BytesToRead 1049088 is greater than max 1048576 )
 
344750:13:58:16.935 [10040.5420] <2> bp_sts_read_image_non_512: adjusting offset or length to a 512 byte boundry
344751-13:58:16.935 [10040.5420] <2> 21069286:bptm:10040:NBUhostname: C:\Program Files\Veritas\NetBackup\bin\\ost-plugins\libstspiDataDomain.dll:stspi_read_image image handle =00000000022FBA00 fd =1856884738 length =1049088 offset =2152695296
344752-13:58:16.935 [10040.5420] <16> 21069286:bptm:10040:NBUhostname: [2738:152C] ddp_read() failed Offset 2152695296, BytesToRead 1049088, BytesRead 0 Err: 5008-Invalid Input
344753-13:58:16.935 [10040.5420] <16> 21069286:bptm:10040:NBUhostname: C:\Program Files\Veritas\NetBackup\bin\\ost-plugins\libstspiDataDomain.dll:stspi_read_image STS_EPLUGIN [DDErrNo = 5008 (invalid argument)]
344754-13:58:16.935 [10040.5420] <2> set_job_details: Tfile (21069286): LOG 1649185096 32 bptm 10040 sts_read_image failed: error 2060046 bytes Read = 0plugin error
344755-13:58:16.935 [10040.5420] <2> send_job_file: job ID 21069286, ftype = 3 msg len = 93, msg = LOG 1649185096 32 bptm 10040 sts_read_image failed: error 2060046 bytes Read = 0plugin error 344750:13:58:16.935 [10040.5420] <2> bp_sts_read_image_non_512: adjusting offset or length to a 512 byte boundry

Cause

The size of the bytes read specified in the OST API sts_read_image call is* 1049088 which exceeds 1048576 (1 MB)*.
When determining the size to be read, NetBackup incorrectly adds the IsDisk parameter of 512 to SIZE_DATA_BUFFERS_DISK setting (1048576+512 = 1049088).

The default value of the parameter is - 262144 (256 K), however it has been changed to 1048576 (1MB)

Resolution

Possible solution

1. Revert to the default size of SIZE_DATA_BUFFERS_DISK to 262144 by removing the configuration touch file at

Windows: install_path\Veritas\NetBackup\db\config\SIZE_DATA_BUFFERS_DISK

UNIX/Linux: /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS_DISK

OR

2. Reduce the SIZE_DATA_BUFFERS_DISK to a maximum of 1048576 - 512 = 1048064.

Note -NDMP works on 1024 block sizes. Recommend 524288 (512k).

There is a KB or support article by Veritas on this issue. Please see

NDMP restores fail with media error EXIT STATUS 85 ">This hyperlink is taking you to a website outside of Dell Technologies.

Affected Products

Data Domain, Data Domain, Data Domain Boost
Article Properties
Article Number: 000198367
Article Type: Solution
Last Modified: 09 Oct 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.