Check disk space before saving config?
-
Is there a way to have the system check disk space before saving the config? I've had a couple issues over the years (the Suricata logging bug, packet capture left running, etc.) and one recently that have the firewall appear to be working fine but out of disk space. We don't realize there is an error until the config is saved at which point only a partial file is saved and we have issues because it's an incomplete config.xml. Our solution is to go into the console, find and remove the large files, and then copy the last good config file into place. I would love it if instead of saving the file we get an error that the config couldn't be written due to insufficient disk space. Is there an option for that?
-
There's nothing built for doing that but I agree (and I'm sure many of the devs do also) the handling in that case could be far better.
If you enable ACB it should still be able to write out changes there. I've tested that though.Steve