Restore Vmdk Descriptor File [repack] -
Don't panic. You don't need backups of the entire VM to fix this. You just need to rebuild a 1KB text file.
You check the datastore, and everything looks fine—your large flat VMDK (usually named vmname-flat.vmdk ) is sitting right there, taking up 100GB. But its tiny sibling, the descriptor file ( vmname.vmdk ), is missing or corrupted. restore vmdk descriptor file
vi WindowsServer.vmdk Here is a standard template for a monolithic sparse or monolithic flat disk. You must change the values in brackets. Don't panic
Always take a checksum (MD5) of the -flat.vmdk before editing. One wrong space in the descriptor file is fine—it will throw an error. One wrong offset? That corrupts the partition table. the descriptor file ( vmname.vmdk )