Error: VDDK async operation error: 2. Value: 0x0000000000000002 Failed to upload disk. Agent failed to process method {DataTransfer.SyncDisk}.

Ran into this issue for a customer running Veeam BnR 9.5 Update 4b, some quick google-fu found the following Veeam forum thread; https://forums.veeam.com/vmware-vsphere-f24/vddk-async-operation-errror-2-t58591.html

VDDK async operation error: 2

As described by Andreas Neufert from Veeam, Virtual Disk Development Kit (VDDK) is provided by VMware which is leveraged by Veeam to perform backups and other functions. In this instance, there appears to be a bug introduced in VDDK after VMware introduced “a faster way to process data over Network NBD mode (async processing)” which is causing certain VMs to fail during backup jobs.

The recommendation from Andreas is to ensure the underlying ESXi hosts and vCenter are updated to the latest builds from VMware or Veeam support can add a registry key on the VBR server which disables the new VMware processing.

Veeam will always recommend calling support to obtain the reg key, this is to ensure you are applying the registry tweak for the right reason. However, if you are confident that you are affected by this issue, the details for the reg tweak have been provided below.

The reg key is to be applied on the VBR server under ‘HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Veeam Backup and Replication’

  • Type: REG_DWORD
  • Name: VMwareDisableAsyncIo=1
  • Value data: 0
  • Base: Hexadecimal
Registry tweak

Restarting the VBR server or the Veeam backup service is not required after adding the key.

Credit to Shawn Krawczyk on the Veeam forums (user sbk) for providing the registry tweak to solve this issue.

1 thought on “Error: VDDK async operation error: 2. Value: 0x0000000000000002 Failed to upload disk. Agent failed to process method {DataTransfer.SyncDisk}.

  1. Cody Ault

    I think the registry key is actually:
    VMwareDisableAsyncIo
    Type: REG_DWORD
    Default value: 0
    and should be set to 1

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *