Any way to TRIM SSD when bios has no AHCI mode
-
one of my full install boxes had a broken HDD so replaced it with an SSD, now the problem is the motherboard doesnt have AHCI mode in the bios so not able to enable TRIM in pfsense, is there any way to TRIM it manually using cron jobs or something like that?
i tried setting the ahci load in loader.conf and alos trim set but that doesnt seem to work
tunefs: POSIX.1e ACLs: (-a) disabled tunefs: NFSv4 ACLs: (-N) disabled tunefs: MAC multilabel: (-l) disabled tunefs: soft updates: (-n) enabled tunefs: soft update journaling: (-j) enabled tunefs: gjournal: (-J) disabled tunefs: trim: (-t) disabled tunefs: maximum blocks per file in a cylinder group: (-e) 4096 tunefs: average file size: (-f) 16384 tunefs: average number of files in a directory: (-s) 64 tunefs: minimum percentage of free space: (-m) 8% tunefs: space to hold for metadata blocks: (-k) 6408 tunefs: optimization preference: (-o) time tunefs: volume label: (-L)
-
TRIM support can´t be enabled on 32Bit pfSense OS!! And if there is a SSD that supports TRIM
on a 64Bit pfSense OS it can be done with ease, likes shown under the link in the next line.
How to enable TRIM support in pfSense -
isnt there a manual way even to send trim command using fstrim etc which i could install and run regularly?
-
isnt there a manual way even to send trim command using fstrim etc which i could install and run regularly?
Sorry, this was in earlier time or in earlier versions of pfSense perhaps like you might do it, but as I am
informed since version 2.2.x it is only able to realize it if pfSense is booted to or in the so called
single-user mode. Here is a statement from @jimp about that, from the same thread, Link -
im on 2.3 32bit so can i still boot to single user mode and get it to work.
if not automatic then by manual i mean every month or so i run some command that would send the TRIM command to the SSD, is this possible?
-
im on 2.3 32bit so can i still boot to single user mode and get it to work.
This is interesting because many other customers and users were reporting that they get
it only to work if they use the 64Bit version of pfSense, congratulation.if not automatic then by manual i mean every month or so i run some command that would send the TRIM command to the SSD, is this possible?
No, it is more like the DMA mode for HDDs, you activate it once and it is running then for ever.
It could only activated as I am informed in the so called single user mode and then it must be switched
again to the normal mode installation. -
@BlueKobold:
TRIM support can´t be enabled on 32Bit pfSense OS!!
Why? There was no problem enabling TRIM on a Lanner FW-7530 running 32Bit pfSense.
-
Why? There was no problem enabling TRIM on a Lanner FW-7530 running 32Bit pfSense.
Some users or customers where reporting here in the forum that they were not being able to activate the
TRIM support on a 32Bit pfSense, but until they where changing to a 64Bit pfSense system they were able
to solve this by activating then the TRIM support without any kind of failure or getting problems as before.
The SSD they were talking about was the Samsung850 EVO. And so I was thinking it could be the same
issue like they where in. And vice versa, also their solution could be working well here and solve it out. -
possible workaround:
overprovisioning (saferase, then only use <=80% of the ssd at install time)