Friday
A lot of our switches are giving "logging is stopped" together with messages like
CP100000000 GlobalRouter HW WARNING Free space on /intflash is 143MB. Please clean up /intflash directory to make free space larger than 200MB.
I'm not sure what this would be affecting, maybe a firmware upgrade could go wrong?
Also log files for support would be missing I guess in case we needed to open a case for some issue.
However it seems cumbersome to go to hundreds of switches to clean this up manually. Surely an automatic procedure must exist!?
Solved! Go to Solution.
Friday
i am not aware of an automated procedure, but the removal of log files seems easy.
just use del /intflash/shared/log* -y , which will delete all old log files. only the current file in use cannot be deleted.
if you have a management system (like XMC oder XIQ-SE for example) you could execute such command(s) for multiple switches simultanously by selecting the group of devices, right click -> tasks -> CLI commands and just type in "enable" and the line above (or any other additional commands) and click "Execute".
It might also be useful to look for core dump files, using CLI "show core-files" ...
Sunday
I didn't think logs were stored in that location any more? What firmware are you running?
https://extreme-networks.my.site.com/ExtrArticleDetail?an=000105081
Might be worth also seeing if you've turned off log rotation somehow? It's enabled by default.
https://extreme-networks.my.site.com/ExtrArticleDetail?an=000100944
Monday
Logs were stored in /intflash/shared as the first article says.
Concerning the second article: "A history of 1,000 logs will be kept before initial logs are overwritten."
We were at about logfile number 650 when the flash full messages started appearing.
If indeed they start overwriting logs, they should maybe look at flash size / switch model or so, instead of simply the number of files. Apparently, that isn't the right way to do it.
Friday
That is of course the radical solution.
I thought in the era of A.I. the switch would at least be cleaning up after itself 😂
Friday
i am not aware of an automated procedure, but the removal of log files seems easy.
just use del /intflash/shared/log* -y , which will delete all old log files. only the current file in use cannot be deleted.
if you have a management system (like XMC oder XIQ-SE for example) you could execute such command(s) for multiple switches simultanously by selecting the group of devices, right click -> tasks -> CLI commands and just type in "enable" and the line above (or any other additional commands) and click "Execute".
It might also be useful to look for core dump files, using CLI "show core-files" ...