跳转到主内容

对于支持SCSI UNMAP (RIMT)命令进行空间回收的主机堆栈、有哪些建议?

Views:
449
Visibility:
Public
Votes:
1
Category:
data-ontap-8
Specialty:
san
Last Updated:

适用场景

  • ONTAP 9
  • 集群模式 Data ONTAP 8

问题解答

UNMAP该命令是在 T10 SCSI 命令集中标准化的 SCSI 命令、用于从主机操作系统、应用程序或虚拟机已删除的块中回收空间。当前计算机行业广泛采用的精简配置技术使用UNMAP该命令来提高存储利用率、灵活的容量规划和不间断存储配置服务。UNMAP该命令可用作内联操作或脱机操作。

UNMAPData ONTAP 8.1.3 和更高版本增加了对该命令的支持。

主机堆栈支持UNMAP不同程度的命令。

以下是针对各种主机堆栈的一般建议摘要:

Windows

默认情况下、SCSI取消映射处于启用状态。  可以使用以下命令对此进行验证。 

> fsutil behavior query disabledeletenotify

DisableDeleteNotify = 0 表示为主机启用带内取消映射。

DisableDeleteNotify = 1 表示已为主机禁用带内UNMAP。

VMware

ESX 5.0U1 将禁用UNMAP该命令。建议使用 vmkfstools 回收空间。有关更多的 2007427
ESX 6.0 及更高版本,请参见 VMware 知识库有关回收精简配置 LUN 上已删除的 VMFS 块的信息,请参见 VMware 知识库 2014849

Linux

RHEL 使用丢弃操作通过UNMAP命令回收空间。它支持联机丢弃(使用–o discard mount选项的细化丢弃)和脱机丢弃(使用 frim 实用程序的批处理丢弃)。

Red Hat 建议使用批丢弃操作,除非系统的工作负载使批丢弃不可行、或者必须执行联机丢弃操作才能保持性能。有关详细信息,请参见 RHEL6RHEL7RHEL8

Solaris :
Solaris 不支持对文件系统 UFS 进行 SCSI 取消映射。自 Solaris 11.1 ( 10 月2012 年) ZFS 支持 SCSI UNMAP 。此修补程序已通过修补程序 150400-16 返回到 Solaris 10 。

AIX 和 HPUX :

这些操作系统不支持UNMAP该命令。

Symantec

Symantec 不支持UNMAP Solaris/Linux 和 AIX 的内嵌命令。有关使用UNMAP该命令的详细信息,请参阅 Symantec Storage Foundation Administrator ’ s Guide 中有关精简填区的部分

追加信息

附加信息 _text

 

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.