ls -lh /vmfs/volumes/your-datastore/path-to-vm/VM-flat.vmdk
Create a new text file named exactly as the original descriptor, but without -flat . Example: If flat file is myVM-flat.vmdk , descriptor must be myVM.vmdk .
Here’s a clear, professional write-up for restoring a VM from a file. You can use this for documentation, a knowledge base article, or a team guide. restore vm from flat vmdk
Or use a live Linux CD:
If you encounter issues during the restoration process: ls -lh /vmfs/volumes/your-datastore/path-to-vm/VM-flat
From the ESXi shell or a Linux-based recovery VM:
This process is slightly easier because Workstation handles file creation more gracefully. a knowledge base article
Use vi or cat to create /vmfs/volumes/your-datastore/path-to-vm/myVM.vmdk with this template:
vmkfstools -d thin -a lsilogic YourDiskName.vmdk
This indicates a SCSI driver mismatch.