跳转到主内容

为什么配额报告和 UNIX 客户端中的空间使用量会有所不同?

Views:
17
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core<a>df</a><a>空间核算</a><a>UNIX</a><a>配额报告</a><a>du</a>
Last Updated:

适用场景

所有 ONTAP 版本

问题解答

  • 使用量值产生差别的原因是,配额报告和 UNIX 命令在计算卷或 qtree 中的数据块时遵循不同的方法。
  • 例如,如果某个卷包含具有空数据块的文件,则该卷的配额报告在报告空间使用情况时不会对空数据块进行计数。但是,如果将卷挂载到 UNIX 客户端上且文件显示为 ls 命令的输出,则空数据块也会包含在空间使用量中。因此 ls ,与配额报告显示的空间使用量相比,此命令显示的文件大小更高。
  • 由于 fractional_reserves=100. 预留百分比不同df -r 、因此配额报告中的卷也不会计入预留空间。将为您提供配额报告输出中不会显示的预留空间。

追加信息

有关详细信息,包括常见命令,请参见此处

 

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.