Bad VMDK File / Crashed System
Posted on 2011-09-02
I had a Server 2008 virtual machine running on an ESXi host. Users were reporting that file access from it was very slow. I looked around a bit, and found that the file size at the datastore level was much higher than what it should have been for that server (compared it wish another ESXI host that has the exact same specs, and a similar guest OS, and the size of the one in question was almost double. I ran a checkdsk on the guest OK, and then ran Disk Defragmenter. The datastore had been reporting about 30 Gigs free at the beginning of the process (as compared to the one that's working okay, with about 200 free), but after a bit of time the server froze up. I checked the datastore, and there was only a few megs left of free space.
I was able to delete an old host that I no longer needed, and freed up some space. I left the guest turned off, and tried to add the VMDK file as a hard drive for another virtual server that was running fine. It came up and said it was unformatted and asked if I wanted to format it. I clicked cancel. In computer management, it showed up as a FAT file instead of NTFS.
I disassociated it from that machine, and associated it back with the original one. Now when I try to boot I get a message saying that there's no OS, use recovery disk, etc. When I put the Windows Server disk in and boot to that, chose the recovery option, get to the dos prompt, and go to the drive and type "Dir" nothing shows up.
I can just rebuild the machine, and probably could have done that in the time it took me to compose this message, but the problem is that the guest o/s is a Domain Controller, and I'd really like to be able to recover it instead of having to remove it from the domain manually and readding it.
Thanks for any suggestions on how to recover the VMDK.