|
|
|
|
|
by timewizard
349 days ago
|
|
> it can find a correct copy elsewhere. Which implies you can already correct errors through a simple majority mechanism. > or it could be rebuilt through ECC. So just by having the appropriate level of RAID you automatically solve the problem. Why is this in the fs layer then? |
|
I don't think so? You set copies=2, and the disk says that your file starts with 01010101, except that the second copy says your file starts with 01010100. How do you tell which one is right? For that matter, even with only one copy ex. ZFS can tell that what it has is wrong even if it can't fix it, and flagging the error is still useful.
> So just by having the appropriate level of RAID you automatically solve the problem. Why is this in the fs layer then?
Similarly, you shouldn't need RAID to catch problems, only (potentially) to correct them. I do agree that it doesn't necessarily have to be in the FS layer, but AFAIK Linux doesn't have any other layers that do a good job of it (as mentioned above, dm-integrity exists but halving the write speed is a pretty big problem).