12

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.

studiohack
  • 13,468
  • 19
  • 88
  • 118

3 Answers3

8

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

SysAdmin1138
  • 5,379
  • 23
  • 24
2

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

qris
  • 370
  • 3
  • 7
0

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

Here are some information.

René Höhle
  • 354
  • 3
  • 12