Re: Subject: RFC: Read repair for md RAID1 after mirror read failures
Dragan Milivojević <[email protected]>
| Newsgroups | org.kernel.vger.linux-raid |
|---|---|
| Message-ID | <CALtW_aj4NJcknh5O49=UOr_pGdJ6v=c2yYyAd0TrZOM672_WpA@mail.gmail.com> |
> It's not a simple problem. For long term archiving, I would try to > use something with RAID6 or more, and ideally have a filesystem which > also checksums data. This is what ZFS does, and which bcachefs does > as well, but since they're both out of kernel, I don't use either with > my current home linux setup. > > But for long term storage, that could be the way to go. but then you > need to periodically scrub your data, which means reading it all, > checking the checksums and re-writing and fixing corruption. > > > My concern is not recovery from an existing read error—that is already > > handled by fix_read_error()—but rather the long-term aging of cold > > magnetic recordings. > > You really need three or more disks with multiple parity and checksums > for long term storage. dm-integrity ...