I have enabled the TRIM option in SSDs by adding "discard" to the
/etc/fstab. But even after removing the "discard" the TRIM does not
appear to be disabled. This I can conclude from the write and read
speeds. How do I disable it?
Thanking You and Regards
On 7/1/14, 12:41 AM, Rishabh Singh B.Tech., CSE, IIT-BHU, Varanasi (INDIA) wrote:
> I have enabled the TRIM option in SSDs by adding "discard" to the
> /etc/fstab.
Removing the discard option does indeed stop "real time" trim/discards
from being sent by the filesystem when blocks are freed.
> But even after removing the "discard" the TRIM does not
> appear to be disabled. This I can conclude from the write and read
> speeds. How do I disable it?
Your methodology for reaching your conclusion must be flawed. :)
(of course you remounted after changing fstab, right, and "discard"
no longer shows up in /proc/mounts for this filesystem?)
-Eric