Error “The system cannot find the specified file. Error number 0xE0000002” Occurs When Merging vDisk Versions Fails

Error “The system cannot find the specified file. Error number 0xE0000002” Occurs When Merging vDisk Versions Fails

book

Article ID: CTX200172

calendar_today

Updated On:

Description

Merging vDisk versions fails and displays the following error:
"The system cannot find the specified file. Error number 0xE0000002."

User-added image

Running mcli run mergedisk –p disklocatorid base=1 displays success on execution, however merged disk does not come up on console or store.

User-added image

Management Daemon logs shows the following failures:

2014-01-30 13:47:06,451         [0x00001cd0]    INFO    MergeDisk: ApiStatus = 0x00000002
2014-01-30 13:47:06,451         [0x00001cd0]    ERROR   MergeDisk: VHD merge failure 0xE0000002: The system cannot find the file specified.

Resolution

This issue occurs when the vDisk internal chain has become corrupted, and the vDisk needs to be recreated

Complete the following steps to recreate the vDisk:

  1. Create a new Maintenance version

  2. Perform a Reverse Image of the vDisk back to a Target (see additional resources for more information)

  3. On the Target VM that received the reversed image, run the Imaging Wizard to recreate the vDisk


Problem Cause

This issue occurs because the vDisk chain is copied and imported after renaming of the vDisk.
Note: Citrix does not support renaming the vhd chain while adding or importing a vDisk.

Issue/Introduction

Error “The system cannot find the specified file. Error number 0xE0000002” occurs when merging vDisk versions fails.

Additional Information

For documentation on the Reverse Image process, see the "Image Back to Master Target Devices Hard Drive" topic located at http://docs.citrix.com/en-us/provisioning/7-6/pvs-upgrade-wrapper-61/pvs-upgrade-vdisks-wrapper-7/pvs-upgrade-vdisks-no-hyperv-manual.html