Link to home
Start Free TrialLog in
Avatar of dkuhlman
dkuhlmanFlag for United States of America

asked on

Shrink VMDK file

I recently did a P2V conversion on a Windows SBS 2003 server to VMware Workstation on my laptop.  After I had the server up and running as a VM on my laptop I wiped the host and loaded ESXii 5.1.  I'm now trying to get the VM back over to the original hardware as a guest.

The problem is that the disk came over as a 1TB thin provisioned disk with about 250GB used.  I need to shrink the size of the disk down so it will fit.  There are no snapshots associated with the disk.  

In VMware Workstation 9, when I click File>>Map Virtual Disk and open the first VMDK (there are  many of them, split into 2GB files) I get this message in the volume box:

Error reading the volume information.  Please select another disk file.

I'm under the impression that I need to Map the Virtual disk (aka mount it) in order to shrink the size of the provisioned disk.

Is there a different \ better way to shrink the provisioned disk down to about 300GB so it'll fit on the new host?
ASKER CERTIFIED SOLUTION
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dkuhlman

ASKER

I just started that process.  At first I was "unable to obtain hardware information for the selected VM" but now I think I have it working.   Thanks.