Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Check disk space before saving config?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 325 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      Stewart
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.