After enabling unmap on the vSAN datastore, and running trim or unmap in the guest after deleting data, no space is freed on the vSAN datastore.
vSAN OSA
The VM level advanced setting disk.scsiUnmapAllowed is not present or is set to False.
This setting is required to allow the guest OS to pass the unmap commands to the underlying storage layer.
disk.scsiUnmapAllowed
False change the option to True

TrueOK button