Problem with vmkfstools
Posted on 2012-08-30
I am running ESXi 5 and have a server that I'd like to use as a template for other Hosts. This server is thin provisioned. The size of the server is 23GFs. The provisioned size is 78 GBs. I'm trying to download it at it's thin size to facilitate transport. I SSH'd to the host where this server is and ran this command:
vmkfstools -i /vmfs/volumes/datastore2/AA5Template/AA5Template.vmdk /vmfs/volumes/datastore2/AA5Template/AA5Export.vmdk -d 2gbsparse
It created the file AA%Template.vmdk as I expected it would.
I then downloaded it to my Windows desktop to a folder called test. It created 38 files totalling approximately 23 GBs. As a test I uploaded that folder to a different folder in another datastore. It reassembled the files into AA5Export.vmdk. I right clicked on that file and selected "Inflate". It started to inflate but errored out with "The disk is not thin-provisioned."
Has anyone experienced this? If so, please, what am I missing?
Thanks in advance!