vmkfstools -y
command) to the array succeeds, but the operation completes in few seconds, regardless of the amount of space that can be reclaimed.fdisk
or partedUtil
, the operation might revert to use the software Data Mover.vmkfstools -y
command. For ESXi 5.5 host, see Using ESXCLI in vSphere 5.5 to reclaim VMFS deleted blocks on thin-provisioned LUNs (2057513).vmkfstools -y
command works regardless of the status of the EnableBlockDelete
variable. EnableBlockDelete
is used to disable/enable the automated space reclamation. For more information, see Disabling VAAI Thin Provisioning Block Space Reclamation (UNMAP) in ESXi 5.0 (2007427).vmkfstools -y
command only works in vSphere 5.0 U1 or later and vSphere 5.1. For more information on UNMAP, see Using vmkfstools to reclaim VMFS deleted blocks on thin-provisioned LUNs (2014849).# esxcli storage core device partition showguid
Device Partition Layout GUID
-------------------------------------------------------------
naa.6090a078607099871de8a463b767816c 0 MBR N/A
naa.6090a078607099871de8a463b767816c 1 MBR N/A
naa.6090a0c820f0398e9108b5a86a01c017 0 GPT 00000000000000000000000000000000
naa.6090a0c820f0398e9108b5a86a01c017 1 GPT aa31e02a400f11db9590000c2911d1b8
naa.6090a078607099871de8a463b767816c
naa.6090a0c820f0398e9108b5a86a01c017
# esxcli storage core device partition list
Device Partition Start Sector End Sector Type Size
-------------------------------------------------------------------------------------
naa.6090a078607099871de8a463b767816c 0 0 3221237760 0 1649273733120
naa.6090a078607099871de8a463b767816c 1 128 3221225280 fb 1649267277824
naa.6090a0c820f0398e9108b5a86a01c017 0 0 3221237760 0 1649273733120
naa.6090a0c820f0398e9108b5a86a01c017 1 2048 3221237727 fb 1649272667648