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

    2.2.4 and how I enabled TRIM

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    59 Posts 31 Posters 33.7k 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.
    • ?
      Guest
      last edited by

      but to the i386 version of pfsense 2.2.6

      Earlier or later this version (32Bit) will be not available, so anybody should take the chance to settle over
      to the x86_64 version, perhaps we will see that changing is coming earlier as we all could expect or imagine it.

      1 Reply Last reply Reply Quote 0
      • 2
        2chemlud Banned
        last edited by

        To see if the problem has to do with the activation of TRIM on my 64bit BSD, I followed exactly the steps given in the first post of this thread, same result, same hanging on booting.

        This whole TRIM thing is a pile of sh*t on i386 BSD…

        1 Reply Last reply Reply Quote 0
        • K
          kapara
          last edited by

          I wonder if it is a batch of bad Samsung ssd's

          I recently built out a new box on supermicro MB.  Enabled trim without error.  I did have to use 64bit, and installed off of usb 2.0 port and disable AHCI.  Legacy IDE only.  No issues so far!

          Samsung 850 Pro

          Skype ID:  Marinhd

          1 Reply Last reply Reply Quote 0
          • 2
            2chemlud Banned
            last edited by

            " I did have to use 64bit,"

            64bit worked here too, but not 32 bit–-

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

              @ThePOO:

              –----  I was pretty frustrated getting TRIM enabled in 2.2.4

              ------  This is what worked for me to get the trim status set to enabled for my SSD.

              […]

              Thanks for this guide, I just successfully enabled TRIM on the 16GB mSATA SSD module of the apu2c4!

              1 Reply Last reply Reply Quote 0
              • M
                mikovirgoez
                last edited by

                Thank you very much, this very help me.

                http://www.serbacara.com/2016/06/aplikasi-terbaik-untuk-nonton-film-download-gratis.html - http://www.serbacara.com/2017/01/cara-menggunakan-snapchat.html

                1 Reply Last reply Reply Quote 0
                • X
                  xman111
                  last edited by

                  me too,  did it last night on 64bit pfsense 2.3, and an Intel SSD.

                  1 Reply Last reply Reply Quote 0
                  • PippinP
                    Pippin
                    last edited by

                    Thank you to @ThePOO
                    It worked for me.

                    I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
                    Halton Arp

                    1 Reply Last reply Reply Quote 0
                    • M
                      mauroman33
                      last edited by

                      Thank you for sharing this guide, ThePOO

                      1 Reply Last reply Reply Quote 0
                      • N
                        nicholfd
                        last edited by

                        @jimp:

                        Devices purchased from the pfSense store are loaded with TRIM enabled since we know the hardware and disks are capable (or at least in some cases do not have a negative reaction to it)

                        This wasn't the case with a new set of HA rack mount SG-4860's just purchased (thread https://forum.pfsense.org/index.php?topic=113803.0).  Has this changed?  Should the HA set of SG-4860's have TRIM enabled?

                        Thanks,
                        Frank

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

                          I just used this guide to enable TRIM on my new Samsung 850 evo msata drive. Rebooted and everything looks as it should.
                          Should I be concerned about corruption or would it be immediately obvious if there was a problem, I'm using pfSense x64.
                          Thanks.

                          1 Reply Last reply Reply Quote 0
                          • E
                            EricE
                            last edited by

                            @2chemlud:

                            This whole TRIM thing is a pile of sh*t on i386 BSD…

                            TRIM is an ugly hack, period.  Mainly a symptom of trying to graft old storage technology that works one way on top of flash memory that works an entirely different way.  Hopefully someone will come up with a replacement for SATA and develop a native flash memory stack end to end.

                            Until then I just buy SSDs that are over-provisioned and do their own garbage collection irrespective of TRIM.  Most Sandforce based SSDs work this way - it just takes a bit more digging to find 'em.

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

                              @EricE:

                              TRIM is an ugly hack, period.  Mainly a symptom of trying to graft old storage technology that works one way on top of flash memory that works an entirely different way.  Hopefully someone will come up with a replacement for SATA and develop a native flash memory stack end to end.

                              It's called NVMe.

                              1 Reply Last reply Reply Quote 0
                              • W
                                Waqar.UK
                                last edited by

                                @EricE:

                                @2chemlud:

                                This whole TRIM thing is a pile of sh*t on i386 BSD…

                                TRIM is an ugly hack, period.  Mainly a symptom of trying to graft old storage technology that works one way on top of flash memory that works an entirely different way.  Hopefully someone will come up with a replacement for SATA and develop a native flash memory stack end to end.

                                Until then I just buy SSDs that are over-provisioned and do their own garbage collection irrespective of TRIM.  Most Sandforce based SSDs work this way - it just takes a bit more digging to find 'em.

                                With regard to  over-provisioned SSD a good article (at least from Kingston) is
                                https://www.kingston.com/en/ssd/overprovisioning
                                Seagate:
                                http://www.seagate.com/gb/en/tech-insights/ssd-over-provisioning-benefits-master-ti/

                                1 Reply Last reply Reply Quote 0
                                • V Visseroth referenced this topic on
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.