[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1274
  • Last Modified:

Problem with vmkfstools

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!
Mark
0
ikellyit
Asked:
ikellyit
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
2gbsparse

This format is compatible with Hosted (desktop) products such as VMware Fusion, Player, Server, Workstation, etc

In this article it states:-

This format is not supported for running virtual machines in VMware ESX or ESXi 4.x.


Source
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1028042

I would recommend and use VMware vCenter Converter Standalone 5.0

See my EE Articles

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.0

speed up conversion by 60% with my EE Article here
HOW TO: Improve the transfer rate of a Physical to Virtual (P2V), Virtual to Virtual Conversion (V2V) using VMware vCenter Converter Standalone 5.0
0
 
ikellyitAuthor Commented:
My apologies for not updating this sooner. I didn't use your answer but thanks for responding anyway. As it turns out all I had to to was reassemble the files on the new host, using another switch of the vmkfstools command.
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now