3 ms·
One good thing about ZFS integrity checking is that when it finds an error it can repair the bit rot from another disk if you have parity or mirroring. Can dm-i
by zerd 9y ago
One good thing about ZFS integrity checking is that when it finds an error it can repair the bit rot from another disk if you have parity or mirroring. Can dm-integrity do that?
- harshreality 9y agoNot so far, it seems. https://www.spinics.net/lists/dm-devel/msg31482.html https://www.spinics.net/lists/dm-devel/msg31482.html > this target do not provide error correction, only detection of error (such a tool could be written on top of dm-integrity though)
- Veratyr 9y agodm-integrity will only operate on a single disk so no, not on its own. It does however return an error if the integrity check fails, so if you put mdadm on top, mdadm can repair the erroneous block. I've tested this and am currently running it on a 32TB array.
- rleigh 9y agoOr multiple copies of the data (copies=n property).