Max Directory size error - AutoSupport message
Applies to
- ONTAP 9
- Flexible Volume
- Max directory events
wafl.dir.size.warning
wafl.dir.size.max.warning
wafl.dir.size.max
Event Summary
This message occurs when a directory surpasses 90% of its current maximum directory size or when a directory has reached its maximum directory size (maxdirsize) limit.
- When a directory hits the maximum default or configured value of maxdirsize, any new file creates will likely fail.
- The directory may begin to allow saving new writes if there is a background cleanup operation running (i.e. a snap delete following file deletion)
wafl.dir.size.max.warning |
This message occurs when a directory has reached or surpassed 90% of its current maximum directory size (maxdirsize) limit, and the current maxdirsize is less than the default maxdirsize, which is 1% of total system memory. |
wafl.dir.size.warning |
This mesaage occurs when a directory surpasses 90% of its current maximum directory size (maxdirsize) limit. |
wafl.dir.size.max |
This message occurs after a directory has reached its maximum directory size (maxdirsize) limit. |
Validate
Event Log
::>event log show -severity error -message-name wafl.dir.size*
- confirm the event
[node1: wafl_exempt00: wafl.dir.size.max.warning:error]: Directory size for fileid 8796536 in volume vol1 is approaching the maxdirsize limit.
[node1: wafl_exempt14: wafl.dir.size.warning:error]: Directory size for file id 27846 in volume vol1 is approaching the maxdirsize limit.
[node1: wafl_exempt09: wafl.dir.size.max:error]: Directory size for fileid 10386 in volume vol1 reached the maxdirsize limit.
Resolution
- Refer to How to modify the maxdirsize in ONTAP 9? to review considerations and how to increase it per your environment.
- Review What directory structure should I use to avoid maxdirsize issues? to determine which directory structure layout is recommended to prevent this event in the future.
Additional Information