Hi Folks,
recently, me as a noob got one experts opinion on (not) using TRIM.
Since this is the only voice I know recommending not to use TRIM,
I'd like to put it here and hopefully get your valued opinion on this topic.
Also I'd like to know, why TRIM has the potential to corrupt the filesystem.
Thank you and Best Wishes
recently, me as a noob got one experts opinion on (not) using TRIM.
Since this is the only voice I know recommending not to use TRIM,
I'd like to put it here and hopefully get your valued opinion on this topic.
Also I'd like to know, why TRIM has the potential to corrupt the filesystem.
Matt Dillon said:I do NOT recommend using TRIM
except for initial erasure of the SSD, and potentially to clean out the swap partition on boot.
Instead of trying to use TRIM, just leave a couple of gigabytes of unused space on the SSD.
There are two ways to do this:
(1) Just allocate more swap space, swap can serve double-duty in this regard if the system is set up to TRIM swap on boot, because swap is mostly unused.
(2) Or allocate an 'e' partition of type 'unused' with the space you want to leave unused.
The unused space works just as good as TRIM does but without the potential to corrupt the filesystem.
Trying to use TRIM on the live filesystem itself opens up a can of worms in terms of reliability.
My recommendation is to calculate roughly 5% of the storage for use in a dummy partition or as a lower bound for swap.
from: http://lists.dragonflybsd.org/pipermail/users/2015-August/228322.html
Thank you and Best Wishes