Re: How-to for enabling TRIM for SSD RAID-1 arrays?
From: Roberto Spadim <hidden>
Date: 2013-09-13 20:36:01
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 [off-list ref]:
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@gmail.com -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
-- Roberto Spadim