跳转到主内容

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

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

适用于

Data ONTAP 8

说明

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

  • 卷中有多少个文件?
  • 这些文件有多旧?
  • 哪些用户和组创建了大多数文件?
  • 哪几小时是文件活动的最繁忙时间?

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

您可以通过从指定的 Snapshot 副本中读取文件信息来显示存储系统卷中的文件统计信息摘要。文件统计信息有助于
确定何时计划创建 Snapshot 副本、方法是使您能够查看卷上何时发生最多的文件活动。这些信息还有助于
确定 Snapshot 副本磁盘的使用情况。有关filestats选项的详细信息,请参见《 Data ONTAP System Administration Guide 》。

提供的信息filestats可用于:

  • 更改用户和组配额、并在一天中最繁忙的时间安排更多快照。
  • 跟踪文件期限可用于确定计算最佳快照保留设置和快照保留所需的更改速率。
  • 确定磁带备份和 SnapMirror 以及 SnapVault 复制的计划优先级。可能需要为最活跃的卷提供比大型、但较少活动的卷优先级。
  • 根据文件大小确定卷备份的优先级。对包含几个大文件的卷进行备份的速度要快于对包含许多小文件的卷进行备份的速度。因此,了解卷中累积的文件的“数量”和“大小”会严重影响备份。
  • 在实施 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.