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

    ZFS or UFS for single SSD

    Scheduled Pinned Locked Moved Hardware
    7 Posts 3 Posters 4.2k 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.
    • wgstarksW
      wgstarks
      last edited by

      I just setup my pfSense box a few days ago. During the install process I was presented with an unexpected choice between ZFS and UFS. I chose one of the ZFS options initially but got an error that 2 drives were needed for this option so switched to UFS. Today I saw a post regarding trim support only in ZFS. Makes me wonder if I should reinstall and change the file format to ZFS if that is even possible with a single SSD?

      Box: SG-4200

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

        @wgstarks:

        Today I saw a post regarding trim support only in ZFS. Makes me wonder if I should reinstall and change the file format to ZFS if that is even possible with a single SSD?

        I chose ZFS and am using it with a single SSD.  Can't remember the installation option…

        1 Reply Last reply Reply Quote 0
        • wgstarksW
          wgstarks
          last edited by

          @droeders:

          @wgstarks:

          Today I saw a post regarding trim support only in ZFS. Makes me wonder if I should reinstall and change the file format to ZFS if that is even possible with a single SSD?

          I chose ZFS and am using it with a single SSD.  Can't remember the installation option…

          Thanks. At least I know it’s possible now. Just leaves the question of which FS is recommended?

          Box: SG-4200

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

            @wgstarks:

            Thanks. At least I know it’s possible now. Just leaves the question of which FS is recommended?

            I don't know the recommendation (UFS was the only option in the past), but I don't think you can go wrong with either.

            I chose ZFS since I've been using it for years on my FreeBSD machines.  It's a really amazing filesystem, and I would highly recommend it for storing data that you care about.

            1 Reply Last reply Reply Quote 0
            • JailerJ
              Jailer
              last edited by

              TRIM is supported with either file system. If you're doing a fresh install and have enough memory then ZFS is the better choice.

              1 Reply Last reply Reply Quote 0
              • wgstarksW
                wgstarks
                last edited by

                Well, that was easier and faster than I thought it would be. The only real problem was in picking the disk to stripe. Every time I selected the disk (I thought) I would get an error that a minimum of one disk must be selected. Turns out that you can't just highlight the disk and press enter/return. You have to use the space bar to actually mark the disk. Wish that was in the instructions somewhere.

                Restore from backup was very fast, simple and painless though. No surprises there.

                Box: SG-4200

                1 Reply Last reply Reply Quote 1
                • JailerJ
                  Jailer
                  last edited by

                  Yup that's one of the more wonderful things about pfSense, recovering from a failure is trivial as long as you have your config backed up.

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