trim is enabled at mount option of filesystem (mount -t ext4 /dev/md0 /home -o discard) for ext4 it's discard option if i'm not wrong last kernels have trim support in software raid-1 (md raid1 driver), just mount the filesystem over it and use, i don't know the exact kernel version but it's ~1 year old feature 2013/9/13 Derek Piper <derek.piper@xxxxxxxxx>: > Hi, > > Having found a posting on this list from July this year, I am trying to > find if (and how) TRIM support is supported and enabled under RAID 1 with 2 > SSD drives. > > The posting was mentioned that it was included in the kernel source as of > October 11th 2012. > > I see nothing on the RAID wiki for enabling TRIM for SSD backed arrays. Any > pointers? > > I have a system with Debian 7 (Kernel 3.2, mdadm 3.2.5) that I am working > on. > > Thanks in advance, > > Derek > > -- > Derek Piper - derek.piper@xxxxxxxxx > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Roberto Spadim -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html