Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I read here that:

[T]o use TRIM, you need a OS that supports it, such as Windows 7, Mac OS X and some variants of Linux being the only ones as far as I know. You also need a SSD that supports TRIM obviously. Note that OCZ, Intel and a few other SSD manufacturers offer a utility that mimics what TRIM does, for OSes that don’t support TRIM.

My question is whether or not Ubuntu 10.04 LTS authentically supports TRIM?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

No.

Linux kernel 2.6.33 or newer is required for TRIM support; Ubuntu 10.04 runs 2.6.32.

share|improve this answer
    
alright, so do I need Ubuntu 10.10 to support trim, or the kernel can be upgraded on 10.04? –  alfish Aug 9 '11 at 14:56
    
@alfish If you're gonna go off of the LTS releases, you might as well get onto 11.04; support for 10.10 ends in about 8 months. 10.10 and 11.04 should work just fine for TRIM support; note that you'll need to use ext4 for a filesystem, and you'll need to add discard to your disk's mount options (during the setup wizard or manually in /etc/fstab). –  Shane Madden Aug 9 '11 at 15:00
    
Thanks Shane, but 11.04 is not LTS: wiki.ubuntu.com/Releases –  alfish Aug 9 '11 at 15:03
    
@alfish Yup - what I'm saying is that if you're moving off LTS, you might as well get onto a version that's going to be supported for 14 months instead of 8. –  Shane Madden Aug 9 '11 at 15:08

No - Ubuntu Lucid Lynx 10.04 does not support TRIM. Newer Ubuntu versions does support it, because it is included in the kernel as of 2.6.33. Here you could find something more to read.

If you want to use Ubuntu 10.04 you would have to upgrade your kernel to 2.6.33 or newer. Here is a good example. After you enable TRIM you would like to test it.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.