If like me, you were running VirtualBox and the volume where virtual machines reached 100% disk capacity, you’ve certainly seen a message like below while trying to start your preferred vm.
VMDK: inconsistency between grain table and backup grain table
After searching for a solution, I’ve found a quick and easy way to repair the vmdk vm disk(s).
First of all, you need to download and install VmWare Workstation Pro from VmWare website.
Once VmWare Workstation is installed, do a copy of the vmdk file and copy it on the computer running WmWare Workstation.
To repair the vmdk file, run the command below
C:\Program Files (x86)\VMware\VMware Workstation\vmware-vdiskmanager.exe -R D:\backup\virtualmachines.vmdk
Once it’s done, get the fixed vmdk file to the original location and start your virtual machine in VirtualBox.
Hope it helps