跳转到主内容

如何使用filestats命令报告卷中的文件大小、以及如何使用此信息确定卷活动

Views:
58
Visibility:
Public
Votes:
1
Category:
clustered-data-ontap-8
Specialty:
CORE
Last Updated:

适用场景

Data ONTAP 8

问题描述

filestats   命令的输出将显示以下信息:

  • 一个卷中有多少个文件?
  • 这些文件有多旧?
  • 哪些用户和组创建了大多数文件?
  • 文件活动一天中哪些时段最繁忙?

以下是不带任何选项的filestats 命令语法:
filerA>filestats volume volume_name snapshot snapshot_name

您可以通过从指定的Snapshot副本中读取文件信息来显示存储系统上卷中的文件统计信息摘要。通过文件统计信息、您可以查看卷上发生最多文件活动的时间、从而有助于
确定计划何时创建Snapshot副本。此信息还有助于
确定Snapshot副本的磁盘占用情况。有关filestats 选项的详细信息,请参见Data ONTAP系统管理指南》

filestats 提供的信息可用于:

  • 更改用户配额和组配额、并计划在一天中最繁忙的时段创建更多快照。
  • 跟踪文件期限可用于确定计算最佳快照预留设置和快照保留所需的更改率。
  • 确定磁带备份以及SnapMirror和SnapVault复制计划的优先级。可能需要为最活跃的卷提供优先级、而不是大型但不太活跃的卷。
  • 根据文件大小确定卷备份的优先级。与备份包含大量小文件的卷相比、备份包含少量大文件的卷的速度更快。‘,‘s卷中累积的文件的“数量”和“大小”会显著影响备份。
  • 在实施FlexShare以及使用priority命令按卷划分系统资源优先级时、此信息也很有用。

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

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.