跳转到主内容

何时在AltaVault 上运行云回收/垃圾收集

Views:
25
Visibility:
Public
Votes:
0
Category:
altavault
Specialty:
dp
Last Updated:

适用场景

在AltaVault 上运行云回收/垃圾收集的间隔是多少

问题解答

  • 在AltaVault 中、如果候选层块集大小达到系统中总层块的5%、或者删除的文件数量达到AltaVault 上文件总数的5%、则会运行云回收:
    • 用户删除文件时gc.removed_oids、计数器将递增。此计数器除以存储在AltaVault 上的文件总数后、将显示为gc.current_removed_oids_pct,、如果达到5%(0.05%)、则GC将运行。
    • 用户删除文件candidate_slabs时、所引用的数据块将添加到列表中。  此计数器除以本地缓存上的总厚层数将显示为gc.current_candidate_slabs_pct,、如果达到5%(0.05%)、则GC将运行。
    • 这些阈值和计数器记录在stats_megastorecollect_stats/rfsctl-a.log中。

gc.current_candidate_slabs_pct: 1.40311

gc.current_removed_oids_pct: 2.0117647

  • 如果需要执行其他云回收检查、则可以运行以下命令:

enable
Configure terminal
rfsctl exec "-c gc.complete_check"

  • 您也可以通过以下方式计划每日GC、例如10:00:00: 

enable
Configure terminal
job 1 command 1 "rfsctl exec '-c complete_check'"
job 1 date-time 10:00:00
job 1 recurring 86400
job 1 enable

 

追加信息

不适用

 

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.