10

I have kernel*.32 and I use ext4 on my drive. Now I just don't know how to check if trim support is enabled?

Found this: http://blog.patshead.com/blog/2009/12/a-quick-and-dirty-wipersh-fix-for-intel-x25-m.html

studiohack
  • 13,490
Algific
  • 1,173
  • and this blog post really verifies: http://andyduffell.com/techblog/?p=852 – Mengdi Gao Oct 01 '11 at 03:58
  • I recently also asked this question, and got a great answer from Janne Pikkarainen. http://superuser.com/questions/181238/how-do-i-determine-whether-my-ssd-samsung-um41-supports-the-trim-command/181324#181324 – xyzzyrz Aug 27 '10 at 18:18

2 Answers2

7

The TRIM command has only been supported on Ext4 since kernel version 2.6.33. It is disabled by default (as it is slightly experimental), but can be enabled with the mount option "discard".

sblair
  • 12,697
5

When calling 'mount' on the CLI you should get a response that looks similar to:

/dev/sdx on / type ext4 (rw,noatime,discard,errors=remount-ro,commit=0)

Note the discard option is present, which signifies the volume is mounted with the TRIM option.

harry
  • 51