Enabling TRIM support on APU1D4
I am trying to get mSATA SSD to enable TRIM in FreeBSD. I have done eveything like tunefs -t enable on that parition but it doesn't take effect. I have read through the threads which ask you to touch /root/TRIM_set and reboot, but this dones't take affect.I am setting ahci_load="YES" as well.
tunefs -t enable /dev/ufsid/ID
seems to work, but when the system boots tunefs -p / doesn't show it as enabled.
Is there anything specific I need to do to ensure TRIM can be enabled for PFSense when running on APU1D4?
<ts64gmsa370 n1114b="">ATA-9 SATA 3.x device
Serial Number B978240425
600.000MB/s transfers (SATA 3.x, UDMA6, PIO 1024bytes)
Command Queueing enabled
61057MB (125045424 512 byte sectors: 16H 63S/T 16383C)
Previously was known as ad4
Running 2.2.1-RELEASE AMD64 on Full Install.</ts64gmsa370>
You must boot to single user mode to enable trim with the tunefs command … it can't be done if the disk is mounted
I was having the same difficulty on a RCC-VE 2440.
I solved it by booting my box with a memstick in liveCD mode, dropping to a shell and running:
tunefs -t enable /dev/ada0s1a