from what i found about md raid1 support in google: http://lkml.indiana.edu/hypermail/linux/kernel/1203.1/01772.html [patch 4/7] md: raid 1 supports TRIM From: Shaohua Li Date: Sun Mar 11 2012 - 23:14:04 EST from ext4: https://ext4.wiki.kernel.org/index.php/Ext4_Howto#Ext4_code_implements_discard.2FTRIM https://sites.google.com/site/lightrush/random-1/howtoconfigureext4toenabletrimforssdsonubuntu http://forums.gentoo.org/viewtopic-p-6187612.html 2013/9/13 Roberto Spadim <rspadim@xxxxxxxxx>: > 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 -- 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