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

    zfs on SG5100?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 4 Posters 636 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
      JonH
      last edited by

      I ran across a warning that zfs w/ 8gb ram referring me to freebsd Wiki "ZFSTuningGuide". This shows up on the partitioning page of the pfSense installer for zfs. My 5100 has 8gb ram.

      I am wondering if a zfs image (to convert from ufs) provided for pfSense Plus has the recommendations built into the image or is it simply ok as it is and not a problem?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The tuning and recommendations/warnings for general FreeBSD/server usage are different from that for a firewall. They are much different roles, so we can get away with a lot less resource usage in pfSense comparatively.

        The main difference is that a firewall isn't going to be acting as a file server with a ton of content that needs things like deduplication, compression, etc.

        You can tweak the memory usage of ZFS if you find it wants too much, but for most people the defaults are OK.

        https://docs.netgate.com/pfsense/en/latest/hardware/tune-zfs.html

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        N J 2 Replies Last reply Reply Quote 0
        • N
          nimrod @jimp
          last edited by

          Isnt the ZFS better for file integrity if, for example, power outages are frequent?

          cmcdonaldC jimpJ 2 Replies Last reply Reply Quote 0
          • cmcdonaldC
            cmcdonald Netgate Developer @nimrod
            last edited by

            @nimrod Yes. ZFS is copy-on-write which means the file system is never in an inconsistent state. It is technically possible to lose data that is in-flight, but it won't result in on-disk corruption.

            Need help fast? https://www.netgate.com/support

            1 Reply Last reply Reply Quote 1
            • jimpJ
              jimp Rebel Alliance Developer Netgate @nimrod
              last edited by

              @nimrod said in zfs on SG5100?:

              Isnt the ZFS better for file integrity if, for example, power outages are frequent?

              Yes, it's much better at handling that sort of event.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 1
              • J
                JonH @jimp
                last edited by

                @jimp said in zfs on SG5100?:

                but for most people the defaults are OK.

                Great. The warning sort of surprised me and I wanted to make sure since my appliance is a bit older.

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