Home » Categories » Virtualization » VMware

Reclaim Used Space with VMKFSTOOLS - Punchzero

 

$ vmkfstools -K CentOS.vmdk

$ vmkfstools --punchzero CentOS.vmdk

# Get real size of DiskFile:

$ du -ah CentOS-flat.vmdk


Refs:

https://buildvirtual.net/reclaim-used-space-with-vmkfstools-punchzero/

https://rasanegar.com/blog/how-to-reclaim-freeup-thin-disk-in-esxi/

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
QemuIMG - How to Convert VHD to VMDK: A Step-By-Step Guide
Viewed 1137 times since Sat, Jan 1, 2022
How to Export a vSphere ESXi 6.7 Virtual Machine
Viewed 1674 times since Sun, Feb 7, 2021
Convert Thick Provision Lazy Zeroed Disk to Thin on VMware ESXi by vmkfstools
Viewed 1038 times since Sat, Jan 1, 2022
VMware - Using the OVF Tool to export
Viewed 953 times since Sun, Jan 2, 2022
Reclaiming disk space from thin provisioned VMDK files on ESXi
Viewed 2272 times since Sun, Feb 27, 2022
VMware OVFTool - Deploy .ovf, .ova Error:vim.fault.FileNotFound
Viewed 1860 times since Mon, Jan 3, 2022
Failed to reconfigure virtual machine Test-VM. The operation is not allowed in the current state.
Viewed 1584 times since Fri, Dec 31, 2021
Shrinking VMDK Virtual Disk Size on VMWare ESXi
Viewed 4133 times since Thu, Jan 6, 2022
OVFTool - Error: SHA digest of file ExortedVM.ovf does not match manifest
Viewed 2428 times since Mon, Jan 3, 2022