george@YorkU.CA (George Kahler) writes:
I have around 50 or so entries in ./etc/log/autosupport directory on all of my filers dating back to July '04.
Does anyone know if this is something that can be safely purged ? Why is it being accumulated ?
BTW, autosupport is enabled and is working correctly.
I believe that ONTAP never deletes old messages from this directory until the limit on their number is reached.
The na_autosupport(8) man page [6.5.3] says
< To accommodate multiple delivery methods and destinations < and to preserve time dependent values, the outgoing < autosupport messages are now spooled in /etc/log/autosup- < port. Autosupport processing will attempt to deliver all < (currently undelivered) messages until the autosup- < port.retry.count has been reached or until subsequent < autosupport messages "fill the spool" such that the oldest < (undelivered) messages are forced to be dropped. The spool < size is currently 40 messages.
That would seem to imply that only "undelivered" messages stick around in the directory, but that isn't what actually happens.
However, the limit of 40 does seem to work, with the oldest being deleted to make room. I am surprised you see as many as 50. Which version of ONTAP are you running? Are counting the "YYYYMMDDHHMM.N" files and the "YYYYMMDDHHMM.N.files" sub-directories separately?
It must be fairly safe to empty the directory, as that is one of the things that happens when you set "options autosupport.content minimal"!