MSata drive for Alix APU board and Trim support
-
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?
-
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.
-
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:
-
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:
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
-
Great that definitely saves time!!!
-
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.
-
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.
-
@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.