corrupted vmdk after host hdd space problems
Posted: 8. Jun 2013, 08:25
Hi,
I'm using Mac OS X 10.6.8 with a Ubuntu 12.04 LTS guest on VirtualBox 4.2.12 r84980. The VM itself has a single snapshot of the machine in a blank but set up state.
...and I made the mistake of running this VM without enough space on the host's hard drive to accomodate the maximum space of the guest vmdk.
I ran out of hard drive space on the host, and around that time the guest became unresponsive to anything but a force quit. When I cleared some disk space and VirtualBox came to again, I got this error when I tried to run the machine again:
This error only seems to apply to the differenced vmdk, whereas a very early snapshot is okay...I was able to create a linked clone with the base vmdk, I just don't have my recent work on there.
I've searched around a lot on this error, tried CloneVDI to no avail, tried some other crufty VMWare tools that proved too crufty (a VMDK mounting tool from 2004 and Ken Kato's vdk tool), and the general consensus seems to be that all my work on the differenced vmdk is gone, never to return. Is this true? Do I have any hope of even just getting a few files out of that vmdk...since they're probably still there in raw form? If not I'll have to redo two days of work.
Also, I got the impression from this site: <a wordpress post titled "VIRTUALBOX VDI vs VMDK" that I apparently don't have the cred to post> (...which looks incredibly reliable...) that I would've just gotten a gentle warning about this rather than a corrupted virtual hard drive if I had been using a vdi and not a vmdk. Is this true?
I know this error has been covered in the forums, but after reading I still had these questions. Thank you for any help.
Evan
I'm using Mac OS X 10.6.8 with a Ubuntu 12.04 LTS guest on VirtualBox 4.2.12 r84980. The VM itself has a single snapshot of the machine in a blank but set up state.
...and I made the mistake of running this VM without enough space on the host's hard drive to accomodate the maximum space of the guest vmdk.
I ran out of hard drive space on the host, and around that time the guest became unresponsive to anything but a force quit. When I cleared some disk space and VirtualBox came to again, I got this error when I tried to run the machine again:
Code: Select all
Failed to open a session for the virtual machine ubuntu_64.
Could not open the medium '/Users/samanas/VirtualBox VMs/ubuntu_64/Snapshots/{6c6fb387-cdfb-437c-8761-88af5bed7cc1}.vmdk'.
VMDK: inconsistency between grain table and backup grain table in '/Users/samanas/VirtualBox VMs/ubuntu_64/Snapshots/{6c6fb387-cdfb-437c-8761-88af5bed7cc1}.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
VD: error VERR_VD_VMDK_INVALID_HEADER opening image file '/Users/samanas/VirtualBox VMs/ubuntu_64/Snapshots/{6c6fb387-cdfb-437c-8761-88af5bed7cc1}.vmdk' (VERR_VD_VMDK_INVALID_HEADER).
Result Code: NS_ERROR_FAILURE (0x80004005)
Component: Medium
Interface: IMedium {29989373-b111-4654-8493-2e1176cba890}I've searched around a lot on this error, tried CloneVDI to no avail, tried some other crufty VMWare tools that proved too crufty (a VMDK mounting tool from 2004 and Ken Kato's vdk tool), and the general consensus seems to be that all my work on the differenced vmdk is gone, never to return. Is this true? Do I have any hope of even just getting a few files out of that vmdk...since they're probably still there in raw form? If not I'll have to redo two days of work.
Also, I got the impression from this site: <a wordpress post titled "VIRTUALBOX VDI vs VMDK" that I apparently don't have the cred to post> (...which looks incredibly reliable...) that I would've just gotten a gentle warning about this rather than a corrupted virtual hard drive if I had been using a vdi and not a vmdk. Is this true?
I know this error has been covered in the forums, but after reading I still had these questions. Thank you for any help.
Evan