Problem
Backup to basic disk storage unit fails with Status 84
Error Message
In Activity Monitor, the job finishes with Status 84:
In Job Details this is observed:
Critical bptm(pid=xxxx) image write failed: error 2060017: system call failed
Critical bptm(pid=xxxx) sts_close_handle failed: 2060017 system call failed
Error bptm(pid=xxxx) cannot write image to disk, Invalid argument
The bptm log at Verbose 5 shows this:
02:52:45.287 [1580.4340] <16> MyMediaServer: STSImageManager: write()
failed on image file E:\NetBackup-DATA\users_1305091647_C1_F1.1305091647.img
(
error=665, Unknown error)
02:52:45.287 [1580.4340] <16> MyMediaServer: STSImageManager: Caught exception in STSIMGImageManager::WriteImage, FILE=STSIMGImage.cpp, FUNCTION=STSIMGImage::Write, LINE=786, ERROR=STS_ESYS
02:52:45.287 [1580.4340] <32> do_write_image: sts_write_image failed: byteswritten = 0, len = 65536
02:52:45.287 [1580.4340] <32> do_write_image: sts_write_image failed: error 2060017 (111949774848 65536 0)
02:52:45.287 [1580.4340] <2> ConnectionCache::connectAndCache: Acquiring new connection for host MyMasterServer, query type 1
02:52:45.287 [1580.4340] <2> vnet_pbxConnect: pbxConnectEx Succeeded
02:52:45.287 [1580.4340] <2> logconnections: BPDBM CONNECT FROM 10.200.35.75.59765 TO 10.200.35.57.1556 fd = 1284
02:52:45.350 [1580.4340] <2> db_end: Need to collect reply
02:52:45.350 [1580.4340] <32> write_data: image write failed: error 2060017:
02:52:45.350 [1580.4340] <2> bp_sts_close_image: 0 <users_1305091647_C1_F1 0 1> 1 4 0 1 1 0 complete flag (8)(M_FRAG_COMPLETE ), close type (1)(STS_CLOSEF_IH_COMPLETE ) 10
02:52:45.428 [1580.4340] <16> MyMediaServer: STSImageManager: Caught exception in STSIMGImageManager::CloseImage, FILE=STSIMGImage.cpp, FUNCTION=STSIMGImage::Close, LINE=658, ERROR=STS_ESYS
02:52:45.428 [1580.4340] <2> ConnectionCache::connectAndCache: Acquiring new connection for host MyMasterServer, query type 1
02:52:45.443 [1580.4340] <2> vnet_pbxConnect: pbxConnectEx Succeeded
02:52:45.443 [1580.4340] <2> logconnections: BPDBM CONNECT FROM 10.200.35.75.59766 TO 10.200.35.57.1556 fd = 1264
02:52:45.490 [1580.4340] <2> db_end: Need to collect reply
02:52:45.490 [1580.4340] <32>
b
p_sts_close_image: sts_close_handle failed: 2060017
02:52:45.490 [1580.4340] <8>
delete_image_disk: image close failed: error 2060017: system call failed
Cause
In the bptm log snip above, "error=665" is a native Microsoft Windows error which indicates, "The requested operation could not be completed due to a file system limitation"
Upon investigation, NTFS compression was enabled on the volume housing the Basic Disk storage unit.
Solution
The solution is to disable NTFS compression on the volume housing the Basic Disk Storage Unit.
In the example above, the backup was large in nature, creating a fragment on the Disk Storage Unit in excess of 30 GB in size. Once the fragment was fully written to disk, the NTFS file-system began compression of the file. Although the initial "write" operation to the fragment was complete, NetBackup, was still performing follow-up write operations on the image fragment to conclude the backup job. The fragment was not accessible because it was taking a long time to compress. This caused the backup job to fail.