Search the VMware Knowledge Base (KB)
View by Article ID

Backing up a Windows Server 2008 R2 / 2012 VM using VDP 5.1 fails with the error: "E10055:Failed to attach disk" (2035736)

  • 54 Ratings
Language Editions

Symptoms

  • You cannot back up a Windows Server 2008 R2 or Windows Server 2012 virtual machine using vSphere Data Protection (VDP) 5.1.
  • Backing up a Windows Server 2008 R2 or Windows Server 2012 virtual machine using vSphere Data Protection 5.1 fails.
  • In the backup group-jobid.log file, you see entries similar to:

    avvcbimage Error <12015>: Failed to connect to virtual disk [QAOMS01] QAOMS01/QAOMS01-000001.vmdk (13) (13) You do not have access rights to this file
    avvcbimage Error <9767>: VixDiskLib_Open([QAOMS01] QAOMS01/QAOMS01-000001.vmdk) returned (13) You do not have access rights to this file
    avvcbimage Warning <16053>: This access rights error may have been caused by a VM flag in the wrong state for Windows Server 2008
    avvcbimage Warning <16054>: Please check the 'Configuration Parameters' settings of the VM and make sure the 'disk.EnableUUID' is set to 'false'.
    avvcbimage Info <0000>: Starting graceful (staged) termination, VixDiskLib_Open attempt to connect to virtual disk failed (wrap-up stage)
    avvcbimage Info <16052>: Terminating backup of all remaining virtual disks
    avvcbimage Info <16052>: Terminating backup of all remaining virtual disks
    avvcbimage Info <9672>: Disconnected from VM


    Notes:

    • Every backup job has a job ID, similar to QAOMS01
    • The log file is located at usr/local/avamarclient/var-proxy-?/

Cause

This issue occurs when the Microsoft VSS service attempts to do an application quiesced snapshot, but is unable to read the disk UUID or Serial Number value for one or more virtual machine disks. For more information on application quiesced snapshots, see Enabling Windows 2008 application-consistent quiescing on ESXi/ESX (1028881).

ESXi/ESX 4.1 Update 1 and later releases support application quiesced snapshots for Windows 2008 and 2008 R2 virtual machines. ESXi 5.0 and later support application quiesced snapshots for Windows 2012. This requires the new disk.EnableUUID parameter to be added to the virtual machine's .vmx configuration file to enable or disable the feature. When the parameter is enabled, you must reboot the virtual machine to ensure that the disk UUID/Serial Number is also populated as it is required for application snapshots.

The disk.enableUUID parameter is not available in earlier versions of ESXi/ESX and, therefore, virtual machines created using the earlier ESXi/ESX versions do not include this parameter in the .vmx configuration file. If the ESXi/ESX hosts are upgraded from an earlier version to ESXi/ESX 4.1, support for application quiesced snapshots is available.

When a virtual machine is migrated to a new datastore using Storage vMotion, the disk.EnableUUID parameter is added to the virtual machine's .vmx configuration file and is set to true if the parameter is not already present in the file. Before the migration, the effective value of disk.EnableUUID is false (as the feature is not being used) and the migration changes the default value from false to true.

When a backup or snapshot attempts to quiesce the virtual machine, it sees that application quiescing is enabled (disk.EnableUUID=true), but it cannot read the disk UUID/Serial Number because the virtual machine has not been rebooted since the parameter was added to the .vmx configuration file.

For additional information, see Taking a snapshot of a virtual machine after a Storage vMotion on an ESXi/ESX 4.1 or 5.0 host fails (2009065).

Note: This issue may also occur if there is a DNS misconfiguration. Ensure that the vSphere Data Protection (VDP) appliance and all hosts can correctly resolve DNS names (shortname and FQDN) and that the reverse DNS lookup is working properly.

Resolution

This issue is resolved in vSphere Data Protection 5.1.10.

To work around this issue in older VDP releases, set the disk.EnableUUID variable to false.

To configure disk.EnableUUID using the vSphere Web Client:
  1. Right-click the virtual machine and click Shut Down Guest OS.
  2. Right-dick the virtual machine and click Edit Settings.
  3. Click VM Options.
  4. Expand the Advanced section and click Edit Configuration.
  5. Locate the disk.EnableUUID parameter and set the value to false.
  6. Click OK.
  7. Click OK.
  8. Right-click the virtual machine and click Power On.

    Note: After updating the configuration parameter, backups of the Windows 2008 R2 or Windows Server 2012 virtual machine should succeed.

Additional Information

 
For more information on the disk.enableUUID parameter setting, see the Setting disk.enableUUID=true in vSphere Data Protection post on the VMware Support Insider blog.
 

See Also

Update History

10/02/2012 - Added additional log examples and log location 12/03/2012 - Added cause for the issue 03/06/2013 - Added additional cause related to DNS misconfiguration 03/27/2013 - Added link to related blog post 04/29/2013 - Added resolved in VDP 5.1.10

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 54 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 54 Ratings
Actions
KB: