This article provides solutions for situations where a virtual machine (VM) fails to power on due to missing or invalid virtual machine disk (VMDK) descriptor files or snapshot chain issues.
The errors typically encountered include:
"Cannot open the disk '/vmfs/volumes/volume/vm/vm-000002.vmdk' or one of the snapshot disks it depends on."
"Cannot open disk '/vmfs/volumes/volume/vm/vm-000002.vmdk': The parent virtual disk has been modified since the child was created (18)."
The following error can be seen in the vSphere Client > VM > Monitor > All Issues: "Some of the disks of the virtual machine vm_name failed to load. The information present for them in the virtual machine configuration may be incomplete.
"
vmware.log
, messages similar to below can be seen:vmx| DISKLIB-LINK : "myvm.vmdk" : failed to open (The system cannot find the file specified).
vmx| DISKLIB-CHAIN : "myvm.vmdk" : failed to open (The system cannot find the file specified).
On validating the files in the VM folder, one or more disk descriptor or data files are missing.
VMware vSphere ESXi 6.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
These errors can occur due to:
Note: The below steps can be destructive, kindly ensure valid backup for VM is available before proceeding.
Steps to Resolve "File Not Found" Errors When Powering On a VM:
Verify the presence of Virtual Machine Disk Files
For each disk, including snapshot disks, verify that the following files are present:
Base Disk Descriptor File: vmName.vmdk
Base Disk Data File: vmName-flat.vmdk
or vmName-separse.vmdk
Snapshot Disk Descriptor File: vmName-######.vmdk
for each snapshot.
Snapshot disk data file: vmname-######-delta.vmdk
or vmname-######-sesparse.vmdk
for each snapshot.
If any of these files are missing, the disk may need to be recreated or restored.
Recreate Missing Descriptor File:
Base Disk Descriptor File: If the descriptor file for the base disk is missing, it can be recreated. To do so, follow KB - Recreating a missing VMware virtual machine disk descriptor file (.vmdk).
Snapshot Disk Descriptor File: If the descriptor file for a snapshot disk is missing, follow KB - Recreating a missing virtual disk (VMDK) descriptor file for delta disks.
Missing Data File:
If data files, such as -flat.vmdk
, -delta.vmdk
, or -sesparse.vmdk
files are missing, the VM may need to be restored from a backup or the original data source.
Check for Inconsistent Snapshot Chains:
If errors regarding "The parent virtual disk has been modified since the child was created
" is encountered it may be needed to consolidate the snapshot chain or restore the VM from a backup.
If VM had Raw Device Mapping (RDM) Disks:
For RDM disks, there are no -flat
or -sesparse
files for the base disk.
Physical-mode RDM: Files are in the form of vmName-rdmp.vmdk
.
Virtual-mode RDM: Files are in the form of vmName-rdm.vmdk
.
Base Disk Data File: vmName-flat.vmdk
or vmName-separse.vmdk
If the RDM descriptor file is missing, it can also be recreated. For more details, see: Recreating pass-through Raw Device Mapping (RDM) files for a virtual machine
Other Useful KBs:
Verifying ESX/ESXi virtual machine file integrity
"The parent virtual disk has been modified since the child was created" error
ESXi/ESX host reports VMFS heap warnings when hosting virtual machines that collectively use 4 TB or 20 TB of virtual disk storage