Re: mismatch_cnt again

Bill Davidsen
2009-11-15T01:54:18Z

Neil Brown wrote:
> On Thursday November 12, greg@enjellic.com wrote:
>
>> Neil/Martin what do you think?
>>
>
> I think that if you found out which blocks were different and mapped
> that back through the filesystem, you would find that those blocks are
> not a part of any file, or possibly are part of a file that is
> currently being written.
>

Well, I have a bunch on my /boot partition, so here's my test plan.
Please comment on the safety of this plan as you see it.

- remount the raid-1 array read-only. It shouldn't be changing!
- mount 1st component r/o and do md5sum on every file[1]
- for each other component, mount r/o and check every file

Investigate any mismatches found in real data.

The alternative involves taking the system down and doing this from a
Live-CD. Since most of my servers and desktops (including this one) run
in VMs on the server in question, this is safer but not likely to happen
soon.

--
Bill Davidsen <davidsen@tmr.com>
"We can't solve today's problems by using the same thinking we
used in creating them." - Einstein