Can I revert the maxdirsize value to a smaller value?
Applies to
- Data ONTAP operating in 7-Mode
- Clustered Data ONTAP 8
- ONTAP 9
Answer
It is highly recommended NOT to modify the maxdirsize settings due to the potential performance impact !!! |
The maxdirsize
options can be set back to a lower value.
But it should be not reduced to a value lower than the current largest directory in the volume. Please read Is there a way to determine how big maxdir-size should be? in What is maxdirsize? to get a proper size if maxdirsize
has to be reduced.
7-Mode
>vol options <volume> maxdirsize <size>
Clustered Data ONTAP
::>set advanced
::*>volume modify -vserver <vserver> -volume <volume> -maxdir-size <size>
Additional Information
Reducing the maxdirsize value does not shrink existing directory size. Once a directory size is grown, it cannot be reduced without recreating the directory.