$ 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 ID: 92
Created On: Sat, Jan 1, 2022 at 8:59 PM
Last Updated On: Sat, Jan 1, 2022 at 9:03 PM
Authored by: Saeed Nobakht [[email protected]]
Online URL: https://www.navel.ir/article/reclaim-used-space-with-vmkfstools-punchzero-92.html