Hi,
Can the vSphere 6.5 support the auto reclaimed space of datastore? e.g. If I write and delete the 100GB files on one of VM, the datastore can reclaim the space of datastore?
Can the vSphere 5.5 / 6 support the manual reclaim space? Where to run the reclaiming function through GUI? Need command base to do that?
Yes, it is possible to reclaim .
fyi..
for 6.5
http://anthonyspiteri.net/quick-look-vsphere-6-5-storage-space-reclamation/
for 5.x
How to reclaim VMFS deleted blocks on thin-provisioned LUNs (2014849) | VMware KB
Yes, it is possible to reclaim .
fyi..
for 6.5
http://anthonyspiteri.net/quick-look-vsphere-6-5-storage-space-reclamation/
for 5.x
How to reclaim VMFS deleted blocks on thin-provisioned LUNs (2014849) | VMware KB
Can work the reclaiming function manually on ESXi 5 through GUI?
If I deleted 100-GB files of a VM (thin-provision), I must type the command to reclaim VMFS deleted blocks on thin-provisioned LUNs on ESXi version 5.5, right?
Hi,
If you are not comfortable with command line, use svmotion if the vmdk sizes are not huge.
That doesn't work past 5.0, svmotion doesn't trigger the unmap command till you get to 6.5. I'm pretty sure you need to run the command line command from 5.1-6.0, 6.5 will remove a little at a time from my understanding.
You can use below commands to reclaim space (issue the command from the esxi host where your VM server residing ;
On CentOS server;
dd if=/dev/zero of=/home/zeroes bs=4096 && rm -f /home/zeroes
on Windows Server;
vmkfstools -K YourVMwarename.vmdk
(Where vmkfstools supports the -K option (--punchzero), you can reclaim the zeroed blocks of thin-provisioned virtual disks without the need to clone to another VMFS datastore with a different block size.
SDelete
command (or a tool with similar functionality) to zero out all unused space. The syntax for the SDelete command is SDelete -z driveletter. If you use SDelete
, ensure that you use version 1.6 or later.vmkfstools -K /path/to/disk-name.vmdk