the process is
dd if=/dev/zero of=/cbt
after the command errors out run
rm -rf /cbt
After that, shutdown the VM, login to ESXi Console and run
vmkfstools -K [disk].vmdk
Where [disk].vmdk is the diskfile of your virtual machine where the / partition resides.
can you help me how regarding linux guest OS to reclaim space as i am unable to reclaim. if you can give me an example how to reclaim I shall be very thankful to you.
the examples are in the posts above. if you get errors pls describe what you mean with "i am unable to reclaim".
Thanks for your help. this solution works fine when i have single partition like /root but when i have multiple partitions like /root, /data, /var, /recording then i am unable to reclaim unused space from these partitions. In fact it increased the size rather than decreasing. please tell me how can i reclaim with different partitions. i used this format
dd if=/dev/zero of=/root/temp-file
rm /root/temp-file -f
dd if=/dev/zero of=/data/temp-file
rm /data/temp-file -f
dd if=/dev/zero of=/var/temp-file
rm /var/temp-file -f
dd if=/dev/zero of=/recording/temp-file
rm /recording/temp-file -f
when i check space df -h it shows me total 24GB and when i run vmkfstool command after dd and deleting temp-files it increased size to 142GB. please let me know if there is any issue in my commands.