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

    MSata drive for Alix APU board and Trim support

    Scheduled Pinned Locked Moved Hardware
    8 Posts 6 Posters 2.5k 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.
    • M
      MaxPF
      last edited by

      I'm considering upgrading my Alix 2D13 to a new APU4C with a SSD. I read on the PCengine site that there was some problem with their ssd drive when using trim so they had to disable trim in the new firmware. If I decide to go with a different ssd (like this one for example), will there be any issues with pfSense handling trim?

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

        If the drive properly supports TRIM (unlike the PC engines drive) then it should work fine. You will have to manually enable TRIM but there are several posts around the forum for getting that to work.

        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 0
        • K
          kapara
          last edited by

          Make a note of the UFSID of your install on your SSD

          Ex: Trying to mount root from ufs:/dev/ufsid/571651ae94c2d007

          You will need the ID after the ufsid/

          you need to boot to a usb installer and when the serial interface or putty screen shows multi-user (Enter) you need to press 2 for single user.

          The following post is credited with the instructions on how to do this:

          Trying to mount root from ufs:/dev/ufsid/571651ae94c2d007

          Skype ID:  Marinhd

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

            @kapara:

            Make a note of the UFSID of your install on your SSD

            Ex: Trying to mount root from ufs:/dev/ufsid/571651ae94c2d007

            You will need the ID after the ufsid/

            you need to boot to a usb installer and when the serial interface or putty screen shows multi-user (Enter) you need to press 2 for single user.

            The following post is credited with the instructions on how to do this:

            Trying to mount root from ufs:/dev/ufsid/571651ae94c2d007

            It isn't necessary to boot from a usb installer, you can do it directly from the main installation, aslong as you select 2 for single user

            the when booted enable trim and reboot again

            it works the same as booting from usb, i've done it on many systems

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

              Great that definitely saves time!!!

              Skype ID:  Marinhd

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

                I fail to see the need for trim on something with as few writes as pfSense.  Just some log entries now and then.

                I didn't bother with trim on mine, as it really isn't necessary .  Heck even an SSD is not necessary.  I used to boot pfSense from a USB stick and it worked just fine.

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

                  I fail to see the need for trim on something with as few writes as pfSense.  Just some log entries now and then.

                  Together with squid and snort or squid as a caching proxy it would be speeding up many things
                  if you are going with a mSATA or SSD and yes also TRIM can be interesting then. Why not using
                  the actual given features and options?

                  I didn't bother with trim on mine, as it really isn't necessary .  Heck even an SSD is not necessary.  I used to boot pfSense from a USB stick and it worked just fine.

                  But running Squid as a caching proxy you might be not able to realize with that set up.

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

                    @BlueKobold:

                    I fail to see the need for trim on something with as few writes as pfSense.  Just some log entries now and then.

                    Together with squid and snort or squid as a caching proxy it would be speeding up many things
                    if you are going with a mSATA or SSD and yes also TRIM can be interesting then. Why not using
                    the actual given features and options?

                    I didn't bother with trim on mine, as it really isn't necessary .  Heck even an SSD is not necessary.  I used to boot pfSense from a USB stick and it worked just fine.

                    But running Squid as a caching proxy you might be not able to realize with that set up.

                    Not going to do that with a 16GB SSD anyway :p

                    That being said, squid proxies are not very effective anyway.  Most traffic is effectively cached on the local machine.  Only if you have very many machines on the same network all downloading the same OS updates does it really make sense.

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