[Solved]TRIM support in LMDE

Questions about applications and software
Forum rules
Before you post please read this

[Solved]TRIM support in LMDE

Postby feffer on Fri May 20, 2011 8:38 pm

I have LMDE on a Crucial 64GB SSD. The kernel is: 2.6.38-2-amd64. I would like to enable TRIM support. Search showed another post that discussed this. At the time, support was not in the current LMDE kernel, and Vincent responded+
1. If you don't want to compile your own kernel (which isn't all that hard anyways), you can simply install the Liquorix kernel, a custom desktop-oriented kernel for Debian-based distros. See here: http://liquorix.net/
However, I understand that TRIM support was included after 2.6.33, so I did some googling and found this tutorial. However, after adding "discard" to my fstab options for LMDE's root the TRIM test failed to show the sector zeroed out.
# Root for mintxps on SSD /dev/sdb3
UUID=9003d86b-e083-4835-8289-7fbf028bfc8b / ext4 rw,errors=remount-ro,noatime,discard 0 0

So I'm wondering if I either made an error or if TRIM support is still not enabled in the kernel I'm using.

thx,
feffer
Last edited by feffer on Sat May 21, 2011 4:18 pm, edited 1 time in total.
feffer
Level 3
Level 3
 
Posts: 127
Joined: Mon Jul 07, 2008 7:49 pm

Linux Mint is funded by ads and donations.
 

Re: TRIM support in LMDE

Postby feffer on Sat May 21, 2011 1:53 am

Well, I made a foolish mistake that prompted the first post. LMDE with the 2.6.38-2-amd64 kernel does indeed, support TRIM. Simply adding the "discard" option in /etc/fstab for root "/" enables it. There is a simple way to check using this method from the TechGage site. Evidently support for TRIM started in kernel 2.6.33. So my install of Ubuntu 10.04 LTS with an earlier kernel does not have it.

feffer
feffer
Level 3
Level 3
 
Posts: 127
Joined: Mon Jul 07, 2008 7:49 pm


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 11 guests