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

    PfSense keeps losing settings after reboot (run off 8gb USB stick)

    Scheduled Pinned Locked Moved Hardware
    6 Posts 3 Posters 2.3k 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.
    • J
      jcalvert
      last edited by

      I saw an older post on the same subject from a while ago, but there was never a resolution.
      We are running the current release, 2.0.3 and have the image on a USB which we boot from.  On some occasions on a clean shutdown/reboot, we have to reconfigure the unit.

      We lose everything, from the pfSense name, ip addresses, NAT and Firewall rules, everything.

      We can't have this happen once these units are deployed.

      Any help would be appreciated

      Jay

      1 Reply Last reply Reply Quote 0
      • J
        jcalvert
        last edited by

        One other note, appears that the usb has 3 partitions, 2 of which are ~400mb partitions of the same size, I am wondering if the pfSense is booting up to the wrong partition that hasn't been configured.  Is there a way to avoid this, should this be the reason?

        Thanks

        Jay

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by

          @jcalvert:

          On some occasions on a clean shutdown/reboot, we have to reconfigure the unit.

          We lose everything, from the pfSense name, ip addresses, NAT and Firewall rules, everything.

          PERHAPS on restart the file system is considered "dirty" and the resulting fsck "cleans up" the configuration file.

          Is there anything distinctive about the occasions when a reconfigure is required? Perhaps a configuration change preceded the shutdown? Anything about the file system reported in the restart requiring the reconfiguration? Please post the output of pfSense shell command```
          dmesg

          
          Are you running the "full" pfSense or the "nanoBSD" variant?
          1 Reply Last reply Reply Quote 0
          • J
            jcalvert
            last edited by

            Thanks for the response.

            We seem to see that Disk is Dirty message on every reboot, that could be the issue, but it isn't consistent, I will post the output of dmesg next time it occurs, should run into it again today.

            Jay

            1 Reply Last reply Reply Quote 0
            • J
              jcalvert
              last edited by

              So far, haven't been able to reproduce this, but we just got some more units in that I will be configuring next week, hopefully we can get to the root cause of this.

              Jay

              1 Reply Last reply Reply Quote 0
              • N
                newbieuser1234
                last edited by

                I have had unreliable results running from USB also.  I switched to either the full install with a hard drive or a CF card. CF card is rock solid.

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