Skip to main content
NetApp Knowledge Base

How do I handle a maxdirsize event

Views:
2,186
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • Cloud Volumes ONTAP
  • Data ONTAP 8
  • Directory size

Answer

There are several ways you can address a maxdirsize event:

  1. Create a new directory and place the new files in the new directory where possible
  2. Increase the maxdirsize- How to modify the maxdirsize in ONTAP 9?

Note: Regarding file deletion

  • If a large number of files have been deleted from a directory, you can reduce the directory space by completing the following steps:
  1. Copy the files into a temporary directory
  2. Delete the original directory
  3. Rename the temporary directory with the original directory name

 

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.