To disable in RHEL or other Linux please reference your OS documentation or contact the Linux Distro provider.
To disable Unmap in the Windows Guest OS:
Using a Windows CMD window on the Host, run the command:
fsutil behavior set DisableDeleteNotify 1
To re-enable the feature, use the following command:
fsutil behavior set DisableDeleteNotify 0
To verify the current setting, use the following command:
fsutil behavior query DisableDeleteNotify
- DisableDeleteNotify=0 - indicates the Trim and Unmap feature is on (enabled)
- DisableDeleteNotify=1 - indicates the Trim and Unmap feature is off (disabled)
Note: You can check the ESXi host setting for Unmap. For more information, see
Disabling VAAI Thin Provisioning Block Space Reclamation (UNMAP) in ESXi 5.0 (2007427).