File not found error.Cannot open the disk or one of the snapshot disks it depends on" Failed to open '*.vmdk' with flags 0x7. The parent virtual disk has been modified since the child was created. The content ID of the parent virtual disk does not match the corresponding parent content ID in the child (18).VMware vSphere ESXi 6.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
Note: From the video, the vmkfstools -a option is used. From ESXi 6.5 version and later, this option is deprecated and it will be ignored with following message: "--adaptertype is deprecated and hence will be ignored".
Important Note:
cd /vmfs/volumes/DATASTORE_NAME/VM_NAME.vmx). The controller is identified by the line scsi#.virtualDev , where # is the controller number.lsilogic :-flat file using this command:ls -l vmdisk0-flat.vmdk-rw------- 1 root root 4294967296 Oct 11 12:30 vmdisk0-flat.vmdk# vmkfstools -c 4294967296 -d thin temp.vmdk-c size-d thintemp.vmdk and temp-flat.vmdk files are created as a result.thin. The only consequence, however, is that the descriptor file contains an extra line that must be manually removed in a later step if the original disk is not Thin provisioned.temp-flat.vmdk, as it is not needed. Run this command:rm -i temp-flat.vmdkmv -i temp.vmdk vmdisk0.vmdkExtent Description section,Insert" to allow modifications on the descriptor file.-flat file to match the orphaned -flat. Once completed - hit "Esc" to exit this mode.ddb.thinProvisioned = "1" if the original .vmdk was not a thin disk. If it was, retain this line. Use command ":wq!" to save and exit "vi" editor.# Disk DescriptorFileversion=1CID=########parentCID=########createType="vmfs"# Extent descriptionRW ####### VMFS "vmdisk0-flat.vmdk"# The Disk Data Base#DDBddb.virtualHWVersion = "#"ddb.geometry.cylinders = "###"ddb.geometry.heads = "###"ddb.geometry.sectors = "##"ddb.adapterType = "lsilogic"ddb.thinProvisioned = "1"vmkfstools -e filename.vmdkDisk chain is consistent.Disk chain is not consistent : The parent virtual disk has been modified since the child was created. The content ID of the parent virtual disk does not match the corresponding parent content ID in the child (18)..vmdk files. One is a text file containing descriptive data about the virtual hard disk, and the second is the actual content of that disk. For example, a virtual machine named examplevm has one 10GB disk attached to it. This disk is comprised of a examplevm.vmdk descriptor file of under 1 KB, and a 10 GB examplevm-flat.vmdk flat file which contains virtual machine content.