vmdk empty after resizing Esxi 4.1

Andrew Gates
Andrew Gates used Ask the Experts™
on
Hello,

We run out of space in 2 disks of a virtual machine (Windows Server 2008) that we have on a ESXI 4.1.

We looked in the VMWare Database for instructions on how to resize the vmdk files. We followed to the letter (removing the snapshots, applying the -X resize command) and it completed correctly. We did this with both disks (they were data disks, no OS disks).

After booting the VM, we found that the disks were empty!

We don't have an entire backup of the data (yeah, we know) and we tried to install programs to look for the data in the VM but found nothing.

Does anyone know if there is a way to recover this??
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Disks have been corrupted somehow.

You made no backup before the changes ?

It might be worth, just try a VMware Conversion, and shrinking the disk back to the original size.

Was there a file system on the disk, after re-size ? What do you mean they were empty, not NTFS ?

you had to initialise the disk ? or did it state RAW ?

did you make sure you actually increased the disk, and not decreased the disk ?

Author

Commented:
Hello Andrew,

First of all, thanks for the quick reply. Answering your questions:

- No, we didn't make a backup of the disks (we know, this was a great screw up).
- The vmdk files were there with the correct new size (the were 400GB and now 600GB).
- The disks were at NTFS and ok, but all the data inside of them is nowhere to be found (disk at 100% free space).
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
so after the expansion the disk were still NTFS, and there should have been 200GB un-allocated ?

Author

Commented:
Yes, and after the expansion they were (so I guess that the proccess was ok). The problem is that all the files in the disks were gone.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
so did the files disappear, when the partition was expanded ?

Author

Commented:
Yes, in both disks (.vmdk files)
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
if the files disappeared after the expansion of the OS partition, how did you expand the OS Partition in the OS ?

Author

Commented:
We didn't expand the OS partition. The VM has:

- 1x 200GB vmdk (with OS partition).
- 2x 400GB (now 600GB with no files inside) vmdk (each of them only with data). These were the ones we expanded.

Sorry if I didn't explain myself correctly, I'm in a kind of nearly-heart-attack state.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Okay, so the VMDK wad expanded from 400GB to 600GB

and the 400GB OS Data Partition NTFS still is "as is" but with no files, so in Disk Management you should see 200GB unallocated ?

Author

Commented:
Exactly.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
chkdsk on the volume does not spot anything irregular ?

Author

Commented:
Nope. Also tried with a recovery software, but with no results.
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
If the data is important I would refer to Data Recovery Specialists - Kroll Ontrack.

Author

Commented:
Ok, will do that. Is there any other way?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
I would hand over to experts.

Author

Commented:
Ok, thanks for all the help anyway.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial