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

    Worried about corruption

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 5 Posters 1.6k 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.
    • D
      diablo266
      last edited by

      I'm about ready to install pfsense onto a new machine (i5-4670k + 32GB SSD) and i'm worried about the possibility of filesystem corruption during abrupt power outages. There is no budget for a UPS to enable safe shutdowns and the end-user for this doesn't know or care about best shutdown practices regardless. In the past I have had installs become corrupted beyond repair from power outages. Am I best off installing the nanobsd release on this machine? Will there be any performance hit due to the different kernel? This machine only has basic routing to do (at gigabit speeds) + vpn + traffic shaping. Thanks!

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        Wait until the budget grows by $100 for a ups is my suggestion.

        1 Reply Last reply Reply Quote 0
        • D
          diablo266
          last edited by

          Regardless of a UPS existing or not there are still plenty of scenarios that can end in filesystem corruption. I would prefer to run the nanobsd image for this reason, I just don't want to suffer any non-documented performance decreases because of it. Do I run that risk, or should performance be the same?

          1 Reply Last reply Reply Quote 0
          • P
            priller
            last edited by

            For the system I recently built, I went with an Intel Data Center class SSD for the following feature:

            Enhanced Power Loss Data Protection
            Reduces potential data loss by detecting and protecting data from an unexpected system power loss. The drive saves all cached data in the process of being written prior to shutting down, thereby reducing potential data loss.

            http://www.intel.com/content/www/us/en/solid-state-drives/solid-state-drives-dc-s3500-series.html

            Come in sizes starting at 80G.
            Life Expectancy - 2 million hours Mean Time Between Failures (MTBF)
            Lifetime Endurance - Up to 450TB Written

            Would be a bit more $$ than a standard 30G SSD, but I think the price is reasonable.

            1 Reply Last reply Reply Quote 0
            • D
              diablo266
              last edited by

              I went ahead and just installed the nanobsd image, a read-only filesystem is the only way to be mostly safe. I'll update this post in the future if any routing performance issues are encountered due to this.

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

                Any time you're using a file system that isn't in read-only mode you take the risk of corruption during a power loss, even with a SSD that has a super cap, as just because the writes in cache are flushed does mean that the system didn't need to write more as a part of a larger transaction.

                I can break anything.

                1 Reply Last reply Reply Quote 0
                • C
                  casoah
                  last edited by

                  nanobsd is the way to go

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