Can't shrink VMDK on ESXi 5, vmkfstools -K doesn't do its job
Posted on 2013-01-14
I'm trying to reclaim space back on VM's with thinprovisioned disks. I've use sdelete inside the guest (Win 2003) which wrote 0's across all the free space, then I switched the VM off, ssh into the host and tried to shrink it using vmkfstools -K /path/to/disk-name.vmdk, wich said it was punchzeroing the disk, but in the end of it, the VMDK stays exactly the same size as before, no free space claimed back.
Could anyone please assist me with this? I really appreciate any advice on this.