跳转到主内容

什么是deswizzler或deswizzling

Views:
83
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
dp
Last Updated:

可不使用  

适用场景

  • Data ONTAP 7
  • Data ONTAP 8 (7-模式和集群模式)
  • ONTAP 9

问题解答

注意: 在本文中、deswizzling、deswizzle和deswizzler的使用可以互换、但它们都指的是相同类型的WAFL 扫描。

  • 在Data ONTAP 7-模式和ONTAP 9 DP模式SnapMirror目标卷上、此扫描会将聚合(物理)块位置映射到卷(逻辑)块位置、因为传输不包括物理磁盘块位置。
    • 示例:
      • 在物理房屋地址中、您有一个"物理"位置、如123 N主街道、以及一个"逻辑"位置、例如加利福尼亚州的森尼韦尔。
      • 这两个属性与邮政编码绑定在一起。
      • 邮政服务可以通过邮政编码将"物理"和"逻辑"地址部分结合使用。
    • 注意: 卷移动使用类型DP SnapMirror引擎、因此目标卷将进行deswizzler扫描。
这对性能有何影响?
  • 脱毛扫描可以最大限度地减少CPU和磁盘的开销。
    • 多次扫描可能会引发发生原因 CPU或磁盘争用、但这种情况很少见。
    • 如果从用户/主机读取某个块并对其进行扫描(脱毛扫描尚未更新此块)、则读取延迟会略有增加、并会产生额外开销。
  • 读取操作的路径较慢。
    • 在使用SSD的系统中、此值极低、但如果使用HDD、则每次操作可能会增加几毫秒的延迟。
为什么总是有一个正在运行的扫描程序?
  • 如果卷是Data ONTAP 7-模式SnapMirror或DP类型SnapMirror目标、则完成的每个传输都会触发一个需要扫描的新快照。
    • 可以清除快照、以便在活动文件系统(AFS)上运行扫描。
  • 脱毛扫描可能无法完成、因为创建快照会使用最新到最新的快照重新启动扫描程序。
    • 如果您处于这种情况、请计划一个窗口以停止所有卷快照和SnapMirror类型的作业。
  • 有关详细信息、请参见 Deswizzler在SnapMirror目标卷上持续运行。
deswizzler是否对SnapMirror type-XDP关系目标卷运行?
  • 目标卷在ONTAP 9及更高版本中、Deswizzler会对SnapMirror type-XDP目标卷运行。
是否可以中止脱毛?
  • 目标卷如果需要在激活灾难恢复站点时使用SnapMirror目标、则此扫描对于性能至关重要。
脱机卷上是否发生脱机?
  • 不能、脱机卷无法运行deswzzling。
  • 如果要使卷脱机或在SnapMirror更新期间中断了deswzzling操作、则 在进行deswzzling扫描期间完成块级更新后、deswzzler将在检查点重新启动、而不是从头开始重新启动。
如果在非专用SnapMirror目标卷上运行deswizzler、该怎么办?
  • 在卷历史记录的某个时刻、此卷是SnapMirror目标或卷移动目标。
    • 这可能会在数月甚至数年前出现、而不会有观察。
    • 如上所述、要完成扫描、需要在此卷上创建一个无快照窗口。
  • 另一种可能性是级联SnapMirror、其中三级SnapMirror三组的中间节点是最终目标的源。
是否可以禁用脱毛扫描?
  • 是但是、如果对任何块进行了卷涂处理、则路径读取速度会降低、在HDD系统上、读取延迟可能会增加几毫秒。
  • 此命令 options wafl.deswizzle.enable off 位于节点Shell或7-模式Shell上。
    • 例如、下面是ONTAP 9系统的一个示例:

cluster_CLI::> node run -node node1 "options wafl.deswizzle.enable off"
cluster_CLI::> node run -node node1 "options wafl.deswizzle.enable"   

wafl.deswizzle.enable        off       

如何检查deswizzler是否正在运行?

管理员可以使用 WAFL scan status 命令检查扫描程序是否正在运行:

7-Mode: filer> priv set advanced filer*> wafl scan status ONTAP 9: cluster_CLI::> node run -node node_name "priv set advanced;wafl scan status" 
Output example: Volume volume1: Scan id Type of scan progress 226328 container block reclamation block 1871 of 24095 (fbn 11220) 226329 volume deswizzling snap 157, inode 2144843 of 2172681. level 1 of normal files. Totals: Normal files: L1:10/4881 L2:0/11336 L3:0/5723 L4:0/0 Inode file: L0:0/0 L1:0/0 L2:0/0 L3:0/0 L4:0/0
修改扫描扫描仪之前是否需要禁用WAFL扫描仪?
  •  要更改运行脱  接扫描程序的行为,应先将设置 wafl.deswizzle.enable 为 off 并等待所有脱接扫描程序 退出,以终止所有脱接扫描程序
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.