A Backup from Storage Snapshot (BfSS) job in Veeam Backup & Replication (VBR) for a vSphere virtual machine (VM) fails with the error:
Failed to collect disk files location data. Timeout exceeded.
This error is displayed when the disk file location collection task, Map Disk Region, within the vSphere environment takes longer to complete than the timeout for that task allows.
When backing up a vSphere VM using BfSS, VBR has the ESXi host retrieve metadata about the layout of VM disks on the storage (physical addresses of data blocks). The timeout instituted by VBR ensures that if this task takes longer than expected or gets stuck, the individual VM task will fail in order to prevent the job from stalling and delaying the processing of other VMs in the job.
The performance of the disk file location collection is directly tied to the Map Disk Region events that occur within the vSphere environment, both their quantity and how quickly they are completed. Each Map Disk Region task maps the beginning and end point of a contiguous section of blocks on the storage associated with the VMDK. Therefore, if a snapshot is present before the job begins or the VMDK is heavily fragmented, the number of Map Disk Region tasks increases.
The following are likely to increase the number of Map Disk Region tasks that will occur, or how fast they are completed:
If, after investigating the list of potential causes above, the timeout continues to cause the task to fail, you may choose to change the timeout by creating and adjusting the registry value below on the Veeam Backup Server.
Key Location: HKLM\SOFTWARE\Veeam\Veeam Backup and Replication\
Value Name: SanCollectDiskMappingTimeoutSec
Value Type: DWORD (32-Bit) Value
Value Data (Dec.): 10800 [default]
Notes:
This form is only for KB Feedback/Suggestions, if you need help with the software open a support case