VAAI primitive UNMAP and Space Reclaim::
VAAI UNMAP or space reclaim was introduced in vSphere 5.0 to allow the ESXi host to inform the storage array (VAAI TP Supported) that files (vmdk) or VMs had be moved or deleted from a Thin Provisioned VMFS datastore. This allows the array to reclaim the freed blocks.
Recommended use of this primitive is in maintenance window, since running it on a datastore that is in-use by a VM can adversely affect I/O for the VM. I/O can take longer to complete, resulting in lower I/O throughput and higher I/O latency.
The UNMAP performance is fully dependent on the storage array, how quickly or slowly it completes the process.
However, there is no way of knowing how long an UNMAP operation will take to complete. It can be anywhere from few minutes to couple of hours depending on the size of the datastore, the amount of content that needs to be reclaimed and how well the storage array can handle the UNMAP operation.
To run the command, you should change directory to the root of the VMFS volume that you wish to reclaim space from. The command is run as:
vmkfstools –y <% of free space to unmap> Storage Array’s that support VAAI can be found from the VMware Hardware Compatibility List. In vSphere 5.5x esxcli command has been introduced instead of vmkfstools -y to do the space reclaim from the storage array. To check whether the VMFS datastore is supported for reclaim are not, run the following command using naa number of the vmfs datastore. ~ # esxcli storage core device vaai status get -d naa.5006016050912500f7d9a21b8794f321 naa.5006016050912500f7d9a21b8794f321 VAAI Plugin Name: VMW_VAAIP_RX ATS Status: supported Clone Status: supported Zero Status: supported Delete Status: supported <<<< TP (You can do the Space Reclaim)
Recent Comments