Am I able to convert an existing disk to eager-zeroed thick using vmkfstools? If so, what is the exact command? Thanks.
Main Topics
Browse All TopicsWhat's the easiest way to configure an existing VMWare template with eager-zeroed thick disks on ESXi 4? When I try to deploy a virtual machine from the existing template, I have the option use thick format, but that's lazy-zeroed thick.
I was thinking of doing the following:
1) Convert the template to a virtual machine and then turn on fault tolerance (which would convert the virtual disk to eager zeroed),
2) Turn off fault tolerance. If fault tolerance was turned off, would the virtual disk remain eager-zeroed thick?
Thanks for any help.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
You can convert existing thick vmdk to eagerzeroedthick with the following command
vmkfstools -k myVM.vmdk
But take note, you cant just convert existing thin to eager-zeroed thick (especially in vSphere we like to use thin)
this will not work as it can only convert preallocated vmdk
to overcome this problem you need to clone it and specify the desired disk format
vmkfstools -i myVM.vmdk newdisk.vmdk -d eagerzeroedthick
once done
mv myVM.vmdk old.vmdk (backup old vmdk)
mv newdisk.vmdk myVM.vmdk (attach to VM)
test your vm, if it works fine then delete old.vmdk & myVM-flat.vmdk
take note, your renamed myVM.vmdk will be using newdisk-flat.vmdk
as vmdk file is just the disk descriptor file, it will point to specific flat file
you can fix this by editing the vmx file if you want
I recommend to always to use -i not -k as corruption may occur(nothing is perfect) and at least you have backup
Business Accounts
Answer for Membership
by: ryder0707Posted on 2009-11-03 at 16:53:57ID: 25735502
Not sure about turning off FT the disk remain as eager-zeroed(i think it will otherwise it will be converted again) but in order to create FT you need to have cluster and you cant do it on a standalone esx host
This can easily be done by cloning the disk using vmktstools with eager-zeroed option, you dont need cluster to achive this just plain single esx host will do
Cheers!