I was looking through the forums and documentation and whilst I could find references to TRIM on SSD's I couldn't really work out how to enable it?
Does it get set automatically or if not where should I go and set it?
FreeBSD supports TRIM out of the box, no need to enable it.
You can check the status like this:
root@opnsense:~ # tunefs -p /
[...]
tunefs: trim: (-t) enabled
[...]
Kind regards,
Patrick
Btw. Trim should only make most sense with highly frequented storage.
Should not be the case with "normal" firewall setup.
Nevertheless it is supported by default.
If the disk allows it OPNsense will try to enable it. If you don't want it, you need to edit /etc/fstab and add "# notrim" at the end of the disk line.
Cheers,
Franco
Thanks all, looks like we are golden:
tunefs -p /
tunefs: trim: (-t) enabled