Skip to main content
NetApp Knowledge Base

When does cloud reclamation/garbage collection run on the AltaVault

Views:
663
Visibility:
Public
Votes:
0
Category:
altavault
Specialty:
legacy
Last Updated:

Applies to

At what intervals cloud reclamation/garbage collection run on the AltaVault

Answer

  • In AltaVault, cloud reclamation runs when the candidate slab set size reaches five percent of total slabs in the system, or the number of files deleted reaches five percent of total number of files on the AltaVault:
    • When a user deletes a file, the gc.removed_oids counter will increment. This counter divided by the total number of files stored on the AltaVault is displayed as gc.current_removed_oids_pct, and GC will run if it reaches five percent (0.05).
    • When a user deletes a file, the slabs referenced by it are added to the candidate_slabs list.  This counter divided by the total number of slabs on the local cache is displayed as gc.current_candidate_slabs_pct, and GC will run if it reaches five percent (0.05).
    • These thresholds and counters are recorded in stats_megastore and collect_stats/rfsctl-a.log.

gc.current_candidate_slabs_pct: 1.40311

gc.current_removed_oids_pct: 2.0117647

  • If you require additional Cloud reclamation checks then you can run the follwoing commands:

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

  • You can also schedule a daily GC for example at 10:00 by following: 

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

 

Additional Information

N/A

 

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.