Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

This question already has an answer here:

I have a DELL R710 with ESXI 5.0. I've created a VM with 100GB thin provision. I deleted most of the data. Is it possible to shrink the VM folder on the ESXI? thanks! Dotan.

share|improve this question

marked as duplicate by pauska, Chris S Aug 1 '13 at 13:39

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

2 Answers 2

Use Storage vMotion to move it to another datastore as a thick eager zeroed VMDK then move it back to the original location as a thin one.

share|improve this answer
    
what if I'm working with free ESXI 5 (no vmoition) with only one Datastore? –  edotan Aug 1 '13 at 11:30
    
You could probably use Converter, drop it to a new file then reimport it? Never tried it to be honest. –  Chopper3 Aug 1 '13 at 12:14

This answer explains how to do it http://serverfault.com/a/487550/15008

If you use a compressed filesystem eg. ZFS or thin provisioning over nfs then zeroing the blocks can be enough

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.