Space is not reclaimed on LUN with ESXi vRDM
Applies to
- ONTAP 9
- iSCSI
- VMware ESXi 8.0.2
- RDM in virtual compatibility (vRDM)
- Windows Server 2022
Issue
- Windows Server guest OS on VMware ESXi with iSCSI LUNs connected with vRDM
- ONTAP LUN has
space-allocation
enabled but deleting files in Windows has no effect on used space shown in ONTAP - Windows has delete notifications enabled:
fsutil behavior query DisableDeleteNotify
NTFS DisableDeleteNotify = 0 (Allows TRIM operations to be sent to the storage device)
ReFS DisableDeleteNotify = 0 (Allows TRIM operations to be sent to the storage device)
- ONTAP does not receive
unmap_reqs
:
statistics show -sample-id lun_12
Object: lun
Instance: /vol/vol_12/lun_12
Start-time: 8/22/2024 14:39:49
End-time: 8/23/2024 11:04:07
Elapsed-time: 73458s
Scope: iscsi_01
Number of Constituents: 2 (complete_aggregation)
Counter Value
-------------------------------- --------------------------------
unmap_error_to_good_count 0
unmap_reqs 0
unmap_too_big_error_count 0
unmap_too_many_error_count 0
4 entries were displayed.