Recover Virtual Machine from flat VMDK
Imagine you are trying to run a virtual machine and get this message:
“Unable to connect to the MKS: Virtual machine config file does not exist.”
In this article, you will find out how to cope with that situation and revive your VM. Here are the main things you should know:
- why do you need a descriptor to recover a VM
- how to recover a VMDK descriptor from a flat file
- how recover a VM from a flat VMDK
- how to perform VM recovery if the flat file is deleted.
When do you need to recover a VMDK descriptor file?
There are several situations in which you need to recover a VMDK descriptor file:
- you turn on the VM and see the error message “File not found” or “The file or directory is damaged and cannot be read”.
- The virtual machine’s flat file has no icon.
- It is impossible to find the VMDK descriptor file or it is damaged.
- You can only view a VMDK flat file in the VM directory through a terminal, VMware vMA, or VMware vCLI.
If any of these situations is happening to you, do not delay with recovering the VMDK descriptor file, since without a descriptor, it will be impossible to recover the VM from a flat VMDK.
Recover a VM from a flat VMDK
If you have a VMDK flat file, you can perform recovery of the descriptor easily and that will let you restore a virtual machine.
Now let’s talk about how to recover VMDK from a flat file on your own using this step-by-step guide.
Step 1. Create a new virtual machine in vSphere.
Step 2. Add a new disk to this virtual machine.
Step 3. Specify that you are using the existing -flat.vmdk. As a result, the VMDK descriptor file will be recreated automatically, without any manual editing.
As you can see, recovering a VMDK from a flat file is certainly not difficult.
Unfortunately, the -flat.vmdk file cannot be recovered in this way, but there is another good option.
How to recover a VM, if you don’t have a VMDK flat file
If you have lost or deleted a *-flat.vmdk file or it is damaged for any reason, you need to restore it using software.
DiskInternals VMFS Recovery™ is what you need, because VMDK flat file recovery is a very delicate task that requires the maximum level of precision and performance from software. This software is as automated as possible and equipped with a recovery wizard in order to help you avoid accidental errors during VMDK flat file recovery. In addition, you can easily restore both the .vmdk file and the -flat.vmdk file.
Check out the main features of DiskInternals VMFS Recovery™:
- Supports Windows 7 and newer versions. Preferably, your VM has Windows 10, with about 6 GB of free space to create the VMFS structure in RAM.
- DiskInternals VMFS Recovery™ works with VMs, including disk images of VirtualBox, Ann ProDiscover, VMware, and Virtual PC. It also supports vSphere 6 and ESX/ESXi Server.
- Virtual disks can be mounted as local disks. This allows them access in Windows Explorer.
- DiskInternals VMFS Recovery™ supports file names and multi-level Unicode folders.
- Even a free trial version of DiskInternals VMFS Recovery™ lets you preview files.
Recover a VMDK flat file with VMFS Recovery™
Be sure to use this guide for VMDK flat file recovery using DiskInternals VMFS Recovery™.
Step 1. Download and install VMFS Recovery™. Open the VMFS disk in one of the following ways:
- Boot Windows from ESX/ESXi from an external drive, and then start VMFS Recovery™
- Network connection using iSCSI, SSH or Fiber Channel interface
- Access to data storage from a Windows virtual machine, running VMFS Recovery™ inside the same ESX/ESXi
- Directly connect a VMFS disk to another Windows computer and launch VMFS Recovery™
Step 2. Scan the VMFS disk. Wait for the process to be completed.
Step 3. The search results will be available in a new window; all you need to do is find the correct VMDK file. Now mount this file with the .vmdk extension as a disk image.
Step 4. Open the mounted VMDK and click the Scan button. This action will help you to check if your files can be recovered.
Step 5. Preview. Select the desired file, right-click on it and click on “Preview in New Window”. Recovery will occur automatically.
Step 6. In order to save the recovered files, you need to purchase a license for VMFS Recovery™ and enter the license key in the appropriate window. Then run the save wizard, which will help you to finish saving the data.
Remember: You need to take care that there is enough space for data recovery on the hard disk.
- VMware Horizon and its components
- Want to increase VirtualBox disk size? Here is a guide on how to do it safely!
- VMFS UNMAP: What is It?
- VMFS Recovery software as a solution for NFS data repair
- VMFS Recovery™ for VMware Data Recovery
- Restore a VMDK file
- Restore VMware VM with snapshot(delta.vmdk) files
- repair VMDK files in VMware | DiskInternals VMFS Recovery™
- Restore VMware virtual machine from VMDK file
- VMware vMotion storage: What do You Need to Know
- VMware vs Hyper-V Comparison
- VMFS Block Size: How to Choose
- What is the difference between VMware HA vs vMotion
- What is ESXi Recovery Mode
- How to Fix/Repair Corrupted VMDK Files Effortless
- VMware RAW Device Mapping and File Recovery
- Difference between ESX vs ESXi
- Thick vs Thin Provisioning: All You Wanted to Know
- How to Upgrade VMFS from 3 to 5th version
- Virtualization technology: what is it and how does it work?
- VMware vMotion: all you need to know
- What is VMware HA?
- VMware Fault Tolerance: what is it and how does it work?
- VMware: clone and data recovery
- What is VMware DRS?
- VMware vMotion requirements: for VMs and for hosts
- VMware vMotion vs storage vMotion: all you wanted to know
- VMware FT vs VMware HA: what the difference?
- VMware Workstation and Its Uses
- ESX Partitions: All You Wanted to Know
- What is Space Reclamation and How to Perform It
- What is VMware vSphere
- VMkernel and Its Interactions with Storage
- VMware Infrastructure: What Components are Used
- What is VMware vCenter Server and How Does It Works
- How to Manage VMware ESXi
- Virtualization: How Does It Work?
- VMkernel Ports and Networking Layers
- VMware Cold and Hot Migration: What Is It
- What is Virtual Desktop Infrastructure(VDI)?
- The importance of snapshots in VMWare
- What is vVol and How Does That Work
- What is a VM Cluster and How to Create It
- What is VM Host Server
- Find Your Reason for a Virtual Machine Usage
- Mounting Hard Drives (vmdk files) of a Virtual Machine Running on a ESX Server
- What is Thin Provisioning?
- iSCSI LUN and Data Recovery
- What is VMware vCloud Suite
- VMware Template vs VMware Clone: the differences and common
- VirtualBox: "No bootable medium found" issue
- VM: Hyper-V Integrated Services
- Hyper-V Checkpoint and Its Importance for VM
- Hyper-V Export VM: How Does It Work
- ESXi Free Limitations: Pros and Cons
- Convert VMware to Hyper-V Fast and Safe
- What is Hyper-V VDI and Its Benefits
- VMware: Workstation Pro vs Workstation Player
- Convert VHD to VMDK
- What is VMware vSphere and vCenter
- What is NVRAM? Are these files important?
- VMware vs VirtualBox: What Is The Difference
- VMware Content Library: What Is It and How Does It Work
- Recover Deleted VMDK from Datastore Today
- Is VMware virtual machine inaccessible? Fix it!
- Mounting Server Disks
- What is VMware VDS and How It Works
- How to Use VirtualBox Correctly
- P2V vs VMware: What is Better for You?
- How to Install Kali Linux VMware
- How to install Kali Linux on VirtualBox
- VMware ESXi Root and Default Password
- What is VMware networking?
- VHDX Files and How to Mount Them on Windows
- What is Asynchronous Replication
- Disaster Recovery Checklist: You Need A Plan
- How to open VMDK files
- VMware EVC Mode
- Comparison VDI vs Citrix
- VMware NFS vs VMFS
- NSX-T and NSX-v
- AWS EBS Snapshots
- Hyper-V Nested Virtualization
- About VirtualBox full screen
- About VirtualBox network settings
- About VMware home lab
- Install VirtualBox Extension Pack
- Physical and virtual servers
- What is Hyper-V USB Passthrough
- Hyper-V Virtual SAN
- VMware Player and VMware Workstation
- Thick and thin provisioning
- Install ESXi from a USB
- Steps to update VirtualBox
- Update ESXi
- ESXCLI commands
- Install Ubuntu on VirtualBox
- Remote control an Ubuntu
- Setting up VirtualBox
- About VMware Host Profile
- Create a Virtual Machine
- VMware vSphere 7
- About vSphere Web Client
- About VMware Data Protection
- About VMware vRealize Orchestrator
- The VM session was closed before any attempt to power it on: error code 0x80004005
- Virtual Desktop Infrastructure and VMware Horizon
- The comparison of Citrix and VMware
- 3-2-1 Backup Strategy for Data Safety
- Hyper-V Networking: How to Manage It
- VMware vSwitch
- VMware Network Adapter settings
- VMware snapshot best practices
- Hyper-V NIC Teaming
- VMware vSphere Replication
- Intel VT-x in BIOS: how to enable it?
- VMware Cloud Foundation
- How to use a shared folder properly: VirtualBox, VMware Workstation Player?
- Virtual Disk Service error occurs: your actions
- Result code: e_invalidarg (0x80070057) — how to deal with this error
- Fix: unable to finish connecting to Virtual Disk Service
- What should you do in case of ‘The hardware virtualization is enabled in the acceleration section’ issue?
- The best solutions for Virtual Machine in Windows 10