跳转到主内容

使用ESXi vRDM无法回收LUN上的空间

Views:
6
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
san
Last Updated:

适用场景

  • ONTAP 9
  • iSCSI
  • VMware ESXi 8.0.2
  • 虚拟兼容性中的RDM (vRDM)
  • Windows Server 2022

问题描述

  • VMware ESXi上的Windows Server子操作系统、其中iSCSI LUN与 vRDM连接
  • ONTAP LUN已启用space-allocation 、但在Windows中删除文件不会影响ONTAP中显示的已用空间
  • Windows已 启用删除通知:
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不接收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.

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.