So I had a VirtualBox VM and wanted to resize the drive, since it was almost full. I used File > Tools > Virtual Media Manager and tried to resize it from there, from 90 GB to 130. After the resize, I noticed a cryptic exclamation mark before the drive. I tried to start the VM and got this very helpful message:
Code: Select all
VM Name: ubuntu-64bit-dev-vm
Could not open the medium 'C:\chestii\VMs\VirtualBox VMs\ubuntu-64bit-dev-vm\ubuntu-dev-disk1.vmdk'.
VMDK: inconsistency between grain table and backup grain table in 'C:\chestii\VMs\VirtualBox VMs\ubuntu-64bit-dev-vm\ubuntu-dev-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
VD: error VERR_VD_VMDK_INVALID_HEADER opening image file 'C:\chestii\VMs\VirtualBox VMs\ubuntu-64bit-dev-vm\ubuntu-dev-disk1.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
Result Code:
E_FAIL (0X80004005)
Component:
MediumWrap
Interface:
IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
Code: Select all
> <path\to>\vmware-vdd-8.0.1\bin\vmware-vdiskmanager.exe -R "c:\chestii\VMs\VirtualBox VMs\ubuntu-64bit-dev-vm\ubuntu-dev-disk1.vmdk"
The virtual disk, 'c:\chestii\VMs\VirtualBox VMs\ubuntu-64bit-dev-vm\ubuntu-dev-disk1.vmdk', is corrupted and cannot be repaired.