lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Tue, 12 Nov 2013 04:14:15 -0500 From: Justin Piszcz <jpiszcz@...idpixels.com> To: Brad Campbell <lists2009@...rfbargle.com> Cc: open list <linux-kernel@...r.kernel.org>, linux-raid <linux-raid@...r.kernel.org> Subject: Re: 3.12: raid-1 mismatch_cnt question On Mon, Nov 11, 2013 at 7:39 PM, Brad Campbell <lists2009@...rfbargle.com> wrote: > On 11/07/2013 06:54 PM, Justin Piszcz wrote: >> >> On Mon, Nov 4, 2013 at 5:25 AM, Justin Piszcz <jpiszcz@...idpixels.com> >> wrote: >>> >>> Hi, >>> >>> I run two SSDs in a RAID-1 configuration and I have a swap partition on a >>> third SSD. Over time, the mismatch_cnt between the two devices grows >>> higher >>> and higher. >>> > > Are both SSD's identical? Do you have discard enabled on the filesystem? Yes (2 x Intel SSDSC2CW240A3) & yes )/dev/root on / type ext4 (rw,relatime,discard,data=ordered)) > > The reason I ask is I have a RAID10 comprised of 3 Intel and 3 Samsung > SSD's. The Intel return 0 after TRIM while the Samsung don't, so I _always_ > have a massive mismatch_cnt after I run fstrim. I never use a repair > operation as it's just going to re-write the already trimmed sectors. Very interesting and good to know! Justin. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists