How do I handle a maxdirsize event
Applies to
- ONTAP 9
- Cloud Volumes ONTAP
- Data ONTAP 8
- Directory size
Answer
There are several ways you can address a maxdirsize event:
- Create a new directory and place the new files in the new directory where possible
- 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:
- Copy the files into a temporary directory
- Delete the original directory
- Rename the temporary directory with the original directory name
- If only a few files were deleted or the procedure did not help to decrease the directory file size, increase maxdirsize. How to increase the maxdirsize in ONTAP 9?
Additional Information