Moving thin provisioned vmdk ESXi 5

thin-provisioningvmware-esxi

I am doing an educational project where I have to setup 3 (or more) Windows 2008 R2 servers on a machine running ESXi. I wanted to give myself a head start so I began setting an ESXi environment inside VMware Workstation 8 to create a base installation of Windows to copy. My thought was that it would be fairly easy to just bring the vmdk to my next class and upload it to our ESXi machine. But as I began downloading the vmdk disk image from my ESXi server in vmware, I noticed that it took a very long time. On closer inspection I found out that the vmdk was taking up 40 GB of space even though it is setup to do thin provisioning and the Windows installation only took about 7 GB.
When I look at the drive through the datastore browser it tells me the actual size is 7 GB and the provisioned size is ~40 GB.
How can it be that the image is so large when I attempt to move it?

Best Answer

You de-thinprovision, so to say, the machine, when you copy it off datastore using VMware GUI. Take a look at this VMware Communities thread for a solution.