<div dir="ltr"><div dir="ltr"><div>Weirdly, I thought I had failed to reproduce this bug, but my auto-scrub job ran this morning (first Sat of month), and I got:</div><div><br></div><div><div>03:15:15: Starting scrub of rvg/test ... </div><div>03:15:15: ... scrub started ...</div><div>03:18:36: FAILED:      7926656 mismatches</div><div><br></div></div><div>So I really have no idea what's going on there. I will wade through my bash history and see if I can see what I did last week and what triggered this..</div><div><br></div><div>S.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 23 Jan 2019 at 10:46, Steve Dodd <<a href="mailto:steved424@gmail.com">steved424@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Sorry, user error sent the last email before I'd finished typing, trying again..</div><div><br></div>Hi everyone,<br><br>I am experiencing a mystery scrub failure after extending a particular LV which is a raid1 type mirror. I am using Ubuntu 18.04, LVM 2.02.176-4.1ubuntu3, Ubuntu kernel 4.15.0-29-generic. I mentioned this on IRC, thought an email might reach more people and allow me to provide more detail.</div><div dir="ltr"><br></div><div>As far as I can tell, the LV was *not* created with --nosync:</div><div><br></div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace, monospace"># lvs rvg/backups<br>  LV      VG  Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert<br>  backups rvg rwi-aor--- 96.64G                                    100.00          </font></blockquote><div><br></div><div>The only odd thing I tend to do is specify extents for the extension manually, being a bit OCD about on disk segment layouts. Having mined <font face="monospace, monospace">.bash_history</font>, it seems that last time I ran:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><font face="monospace, monospace">lvextend -l+2561 rvg/backups /dev/sdc3:20480-23041 /dev/sdb3:80097-82658</font></blockquote><div><br></div></div><div>After that, a <font face="monospace, monospace"><u>lvchange --syncaction check rvg/backups</u></font> showed a huge number for <font face="monospace, monospace">raid_mismatch_count</font> (seemed roughly consistent with the newly extended portion not being synced), but dumping the actual filesystem with partclone from both legs of the mirror through md5sum showed no inconsistencies; the contents are mostly borg repositories and for good measure I verified the data in those using borg as well - no problems.</div><div><br></div><div>After a full resync all is well again. This is the second time this happened to me on the same LV (I think - certainly the same VG.)</div><div><br></div><div>Any clues? Any known bugs fixed recently that might not have made it into Ubuntu 1804? I am trying to reproduce with a test LV but can't. Only other thing I can think might be relevant was that the volume was mounted (but quiescent) at the time.</div><div><br></div><div>Thanks,</div><div>Steve</div></div></div></div></div>
</blockquote></div></div></div>