How to fix/repair corrupted VMDK files
This article is dedicated to how to fix the VMDK file and how to repair corrupt VMDK. Read it to find out all that you need!
Imagine this situation: you try to load your virtual machine and suddenly you see that the VMDK file is damaged. This can happen for the following reasons:
- When booting the virtual machine, you see error messages like: “The file or directory is corrupted and unreadable”. The corrupted virtual disk needs to be repaired.
- You decided to mount the virtual disk, but there were problems with it and you see a message similar to this: “There was a problem while trying to mount the virtual disk”.
- The system crashed or the VM stopped working, and after that, it does not boot. How do you fix VMDK files in these cases? How do you recover a corrupt VMDK file? And in general, is it possible?
Fortunately, here you will find the best way to fix a corrupted VMDK file.
How to fix a VMDK file
Before you go deep into this solution, you need to understand that a VMDK file consists of two files on a VM: the .vmdk file (descriptor) and the -flat.vmdk file (binary).
Let’s discuss how to fix a VMDK descriptor file. For lost, deleted, or corrupt VMDK file repair, you need to add a new disk to the vSphere virtual machine. Then it is necessary to specify the existing VMDK. As a result, the VMDK file (handle) will be re-created automatically, without any manual editing.
It should be noted that this method is perfect for fixing VMDK descriptor file corruption.
The -flat.vmdk file will not be able to be recovered this way and in order to recover it, you need to use the best and most reliable software.
Repair corrupt VMDK with VMFS Recovery™
DiskInternals VMFS Recovery™ is the best known professional VMFS recovery tool. It can bring you back your VMDK files (both the .vmdk file and the -flat.vmdk file).
Here are the key features that distinguish VMFS Recovery™ from other similar software:
- Supports virtual machines, including VMware disk images, Virtual PC, VirtualBox, and ProDiscover.
- Supports vSphere 6 and ESX/ESXi Server.
- Works with Windows 7 and above. But, best of all, use Windows 10, because before starting the recovery of deleted VMDK files, VMFS Recovery™ creates a VMFS structure in RAM, and for this, you need at least 6 GB.
- The software size is 65 MB. However, you need to keep in mind that you need enough free space for the data on your hard disk drive to be restored. Plus, you should not restore data on the disk where you recovered it from, because the data will be overwritten, so that means you need additional free space.
- The recovery wizard will help you automatically recover data without problems in a short period of time.
- It is possible to mount virtual disks as local disks available in Windows Explorer.
- VMFS Recovery™ supports file names and multi-level Unicode folders.
How do you recover a corrupt VMDK file? Use this detailed guide!
Use these detailed step-by-step instructions to repair a corrupt VMDK file in ESXi using DiskInternals VMFS Recovery™.
Step 1. Download and install VMFS Recovery™. Afterward, access to the VMFS disk may be performed in one of these ways:
- Network connection using iSCSI or Fiber Channel interface.
- SSH connection.
- Access to data storage from VM with Windows, launching VMFS Recovery™ inside the same ESX/ESXi.
- Direct connection of a VMFS disk to another computer with Windows and starting VMFS Recovery™.
- Boot Windows to ESX / ESXi from an external drive and then start VMFS Recovery™.
Step 2. Scan the VMFS disk. Wait until the process is completed; it may be delayed.
Step 3. In the new window, you will see the search results. Find the correct VMDK file and mount this file with the .vmdk extension as a disk.
Step 4. Now open the disk and click the Scan button. This will check if your files can be recovered.
Step 5. Preview. Select the desired file, right-click on it. Select "Preview in New Window". After reviewing the file, you will be sure that it can be correctly restored.
Step 6. Finally, to save the recovered files, you need to purchase a license for VMFS Recovery™. You will receive a license key; enter it, run the save wizard, and the program will help you to complete the saving of data.
If you have VMDK files in Windows, you can return them to ESX.
If the VMDK file was damaged, you will need to recreate the new VM and load the recovered data into this new VM.
- 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
- 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!
- Recover VM from flat VMDK - The Best Solutions
- 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