跳转到主内容

maxdirsize 是什么?

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

 

适用于

  • ONTAP 9
  • Cloud Volumes ONTAP
  • Data ONTAP 8
  • 最大目录大小 (maxdirsize)

问题解答

Maxdirsize 是一个卷级别选项,它限制目录文件可以增长的最大大小。

  • Maxdirsize 决定目录可容纳的文件数量。
  • 默认 Maxdirsize 为 320MB。 
    • 这将在每个目录中存储最多 430 万个文件,但实际文件数量可能要少得多
  • 大多数环境不需要更改此设置

默认值为 320MB,可以根据需要增加。

  • 建议不要将大小配置得过大,因为某些目录操作需要整个目录驻留在内存中。
  • 而且,一旦 maxdirsize 增加,除非重新创建目录,否则无法减小。

 

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.