Skip to main content
NetApp Knowledge Base

How do you get the number of files on an AltaVault?

Views:
37
Visibility:
Public
Votes:
2
Category:
altavault
Specialty:
legacy
Last Updated:

Applies to

AltaVault (AVA)

Answer

  • AltaVault keeps a count of labelmaps in a durable stat called MAP_COUNT.  
  • A labelmap is a mapping of each file to its data, for every file there is one labelmap.
  • MAP_COUNT is a running count of labelmaps created and removed when backups are written or expired.
  • MAP_COUNT can become inaccurate when backups are frequently deleted, and garbage collection hasn’t yet caught up to update the count.
  • Display the current count of labelmaps/files with the CLI command rfsctl exec “megastore.stats.map_count”

Additional Information

additionalInformation_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.