Brad Campbell <brad@xxxxxxxxxxx> wrote: > I'm detecting errors using md5sums and fsck. > > If the drive checks out clean 1 minute, but has a bit error in a parity stripe and I remove/re-add a > drive the array is going to rebuild that disk from the remaning data and parity. Therefore the data > on that drive is going to differ compared to what it was previously. Indeed. > Next time I do an fsck or md5sum I'm going to notice that something has changed. I'd call that an error. If your check can find that type of error, then it will detect it, but it is intrinsically unlikely that an fsck will see it because the "real estate" argument say that it is 99% likely that the error occurs inside a file or in free space rather than in metadata, so it is 99% likely that fsck will not see anything amiss. If you do an md5sum on file contents and compare with a previous md5sum run, then it will be detected provided that the error occurs in a file, but assuming that your disk is 50% full, that is only 50% likely. I.e. "it depends on your test". Peter - To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html