View Full Version : [all variants] SSD and TRIM (discard)
February 15th, 2012, 09:00 PM
I realize that I must add the discard option to the ext4 partition on the SSD disk /etc/fstab file to make it use TRIM.
However, I tend to dual boot with Windows and use a partition for multimedia which is shared between the two operating systems for.
Because I'm on laptop an I have only one disk to use, I'd like to know if the 'discard' option is only for ext4 or it works on other partitions like NTFS or FAT32? If it does not, is there any other way to enable TRIM on non-ext4 partitions?
February 15th, 2012, 10:44 PM
It is my understanding that is is not required anymore.
Not required with newer kernels
You want journal to speed up system recovery if you have to do repairs or run fsck. But if partition is small then it does not take long to fsck anyway and without journal writing is reduced.
SSD’s, Journaling, and noatime/relatime
noatime,nodiratime options in fstab to make the ssd last longer when using a ext4 partition
BIOS settings (SSD but also most systems)
February 15th, 2012, 11:08 PM
oldfred, thank you for you reply!
You mean that the 'discard' option is not required anymore? If so, could you please explain, because everywhere I read about TRIM support it was said that the discard parameter should be used (and optionally noatime).
But my question was is it possible to enable TRIM support on other types of partitions (NTFS, FAT32, any which is readable under both Ubuntu and Win7). Do you think that the only solution for those partitions is to use DiskTRIM?
February 15th, 2012, 11:52 PM
I may have confused it. The diskTrim was only required with old kernels. You can set noatime & diskcard as a boot parameter. You do need ACHI mode in BIOS. See Arch site linked above for best info.
Not sure about NTFS partitions.
February 16th, 2012, 08:25 AM
Thanks, now I understand what you wanted to say!
So the question is still open: how to enable trim when mounting a ntfs partition? Does the discard option work?
I checked this page: https://sites.google.com/site/lightrush/random-1/checkiftrimonext4isenabledandworking and I can see that TRIM is working on my ext4 partition, but dd command won't start when I start in folder on ntfs partition.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.