Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am getting a SSD and need to know, does Linux support TRIM if I set up LVM on top of the SSD? I'm finding conflicting information. I'm currently running Ubuntu 10.10 with kernel 2.6.35-28.

share|improve this question

migrated from serverfault.com Apr 7 '11 at 0:14

This question came from our site for professional system and network administrators.

add comment

3 Answers

According to this ServerFault question, TRIM works correctly through ext4+LVM+mdraid as of Linux 2.6.38. (thanks to this post)

share|improve this answer
add comment

Trim support was added for LVM in the 2.6.37 kernel (source). However, combining LVM and RAID does not currently support TRIM.

share|improve this answer
add comment

Until the Kernel Version 2.6.33 the TRIM command in inserted to the kernel.

Here are some information.

share|improve this answer
add comment

Your Answer

 
discard

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