ESXi vRDMを使用するLUNでスペースが再生されない
環境
- ONTAP 9
- SAN
- VMware ESXi
- 仮想互換性のRDM(vRDM)
- Windows Server 2022
問題
- vRDMに接続されたiSCSI LUNを備えたVMware ESXi上のWindows ServerゲストOS
- ONTAP LUNでは
space-allocationが有効になっていますが、Windowsでファイルを削除しても、ONTAPに表示される使用済みスペースには影響しません。 - Windowsで削除通知 が有効になっている場合:
fsutil behavior query DisableDeleteNotifyNTFS 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が
unmap_reqsを受信しない:
statistics show -sample-id lun_12Object: lunInstance: /vol/vol_12/lun_12Start-time: 8/22/2024 14:39:49End-time: 8/23/2024 11:04:07Elapsed-time: 73458sScope: iscsi_01Number of Constituents: 2 (complete_aggregation)Counter Value-------------------------------- --------------------------------unmap_error_to_good_count 0unmap_reqs 0unmap_too_big_error_count 0unmap_too_many_error_count 04 entries were displayed.