Skip to main content
NetApp Knowledge Base

What is maxdirsize?

Views:
40,409
Visibility:
Public
Votes:
31
Category:
ontap-9
Specialty:
CORE
Last Updated:

 

Applies to

  • ONTAP 9
  • Cloud Volumes ONTAP
  • Data ONTAP 8
  • Maximum Directory Size (maxdirsize)

Answer

Maxdirsize is a volume level option that limits the maximum size to which a directory file can grow.

  • Maxdirsize determines the number of files a directory can hold.
  • The default maxdirsize is 320MB. (The default value is 320 MB, which allows you to store up to 4.3 million files in each directory)
  • Most environments do not need to change this setting

The default value of 320MB can be increased as necessary.

  • It is recommended not to configure the size larger than necessary, as certain directory operations require the entire directory to be memory resident.
  • And once the maxdirsize is increased, it cannot be reduced without recreating the directory.

 

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.