Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    TRIM on SG2220

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 1.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
      jgraham5481
      last edited by

      Hello, I recently purchased a few SG2220's, with the mSATA ssd installed and to my surprise, trim was not enabled. I know how to go in to single user mode and do it, any reason this would not be on by default for this hardware that came with an ssd? Should I even worry?

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

        You should ask the pfSense shop team and/or support if that mSATA is TRIM compatible or if only
        their install script will be forgetting that.

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

          We discovered a problem with the installer not enabling TRIM in that case this week.

          You can enable it manually by booting the system into single user mode, and running:

          tunefs -t /dev/da1s1a
          

          Though double check what your root partition actually is, I don't recall for sure off the top of my head what the M.2 shows up as in that case. 'dmesg |grep da0', then da1, etc. as needed to find it.

          1 Reply Last reply
          Reply Quote 0
          • stan-qazS
            stan-qaz
            last edited by

            I rebooted my 2440 to single user mode, Option 2 and used this set of commands to check the trim status, enable trim and verify trim was set:

            tunefs -p /
            
            tunefs -t enable /
            
            tunefs -p /
            

            Issue a reboot command and get a shell, Option 8, and use the "tunefs -p /" to see that your change survived the reboot.

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

              Ah yeah, thanks Stan, forgot it takes just / there as well. That's easier.

              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy