跳转到主内容

什么是 MaxDirSize ?

Views:
709
Visibility:
Public
Votes:
1
Category:
ontap-9
Specialty:
CORE
Last Updated:

可不使用  

适用场景

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

问题解答

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

  • Maxdirsize用于确定目录可容纳的文件数。
  • 默认maxdirsize为320 MB。(默认值为320 MB、允许您在每个目录中存储多达430万个文件)
  • 大多数环境不需要更改此设置

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

  • 建议不要将大小配置为超出所需大小、因为某些目录操作要求整个目录都驻留内存。
  • 增加maxdirsize后、如果不重新创建目录、则无法减小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.