Thread (8 messages) 8 messages, 4 authors, 2015-06-25

Re: mismatch_cnt constantly goes up on ssd+hdd raid1

From: Boris T <hidden>
Date: 2015-06-25 17:24:34

Roman,

Thanks for the suggestion. I would probably consider keeping TRIM if I
had less free/unpartitioned space on my SSD. Currently all partitioned
space is just a fraction (about 1/3) of total SSD size. In this
situation I prefer to make sure that my raid is consistent than to
prolong the life of SSD a bit.

Thanks,
Boris

On Thu, Jun 25, 2015 at 8:50 AM, Roman Mamedov [off-list ref] wrote:
On Thu, 25 Jun 2015 18:33:16 +0300
tlknv [off-list ref] wrote:
quoted
I have just discovered that I had 'discard' mount option even though I though it wasn't there :-(
After removing 'discard' and forcing 'repair' mismatch_cnt stays 0 even after a bunch of writes and deletes (the most importantly) to the partition.
I wouldn't recommend disabling discard 'for good' though, from your experiment
we can probably conclude the mismatch_cnt numbers you had previously are indeed
harmless. If you had no other issues due to discard being active, then what you
did now is disable a working and useful feature to fix what's only a cosmetic
problem.

--
With respect,
Roman
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help