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

    Soft updates for UFS

    General pfSense Questions
    4
    8
    4.4k
    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.
    • F
      fernandotcl
      last edited by

      Hello,

      I've been experiencing major problems with nasty file system corruption. My machines aren't being properly shut down, but I expected UFS to better behave in those situations. I've lost track of how many times an installation got to an irrecoverable state after a hard halt or reboot.

      I've been researching on possible solutions. One of them might be soft updates for UFS. Why isn't soft updates used by default on pfSense? Any special reason?

      Regards,

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        Softupdates is an option during the install.  Click on the Advanced button during partitioning.

        1 Reply Last reply Reply Quote 0
        • A
          althornin
          last edited by

          speaking of which, I've had the same issue in some testing.
          Is UFS with softupdates the recommended way to fix this?
          Or is there another file system/option I should be using?

          1 Reply Last reply Reply Quote 0
          • S
            sullrich
            last edited by

            What it picks as default is what is recommended.

            I have never had corruption such as this and I turn units off and back on all the time to test this.

            In addition, there is a thread recently which talks about this.  Can't remember if it was on the mailing list or here but Holger always turns his rig off by a power strip and also has never ran into this.

            1 Reply Last reply Reply Quote 0
            • A
              althornin
              last edited by

              Ok, i go with defaults during the install.
              Once, I even had it happen in a VM. (powered off, booted, no dice).  I of course restored to snapshot, so i have no record of that.
              If it happens again, I'll post more info on it, maybe even the machine image.
              Thanks for the info!

              1 Reply Last reply Reply Quote 0
              • A
                aldo
                last edited by

                i have noticed this happen quiet a lot as well.

                the /conf soft link to /cf/conf seems to die for me.
                i have found deleting the /conf (file come folder that is left)
                and remake it. then cp /cf/conf/config.xml to the /conf folder.

                are we on the same page here, or are our issues different.

                1 Reply Last reply Reply Quote 0
                • S
                  sullrich
                  last edited by

                  What are we talking here, embedded or full installs?

                  1 Reply Last reply Reply Quote 0
                  • A
                    althornin
                    last edited by

                    full installs

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