跳转到主内容

什么是 ownblocs_calc 扫描程序?它的工作原理是什么?

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

适用场景

  • ONTAP 9

问题解答

  • 发出 snapshot 命令后,快照会在第一个一致点安全地写入磁盘。
  • 在相位之后、会通过一 ownblocks_calc 个缓慢的扫描来计算大小等、该扫描会被有意限制。
  • 我们 ownblocks_calc 会在创建快照、块使用完成 (删除快照后启动)或执行列表命令时运行。
  • 此外,由于我们只会在 blks used 运行时使这些值失效,因此,这些值可能会变得非常陈旧,直到 blks used 完成为止。
  • 并且 blks used 可以在每次执行新的删除 ownblocks时重新启动,因此可能需要很长时间才能运行并更新值,但对于快照本身来说,不存在数据完整性问题。
  • wafl scan ownblocks_calc 从 nodeshell 运行会强制我们通过扫描程序重新计算自己的块值,即使这些块有效 / 扫描尚未通过使用的块启动,这也是执行此操作后您会看到更新值的原因。

输出示例:

::> set advanced ::*> run local wafl scan status volume_name Volume volume_name: Scan id Type of scan progress 843657 block ownership calculation block 19994 of 30803

 

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.