On Sun, 20 Aug 2017, Gionatan Danti wrote:
It can be even worse: if fsck reads from the disks with corrupted data and tries to repair based on these corrupted information, it can blow up the filesystem completely.
Indeed, but as far as I know there is nothing md can do about this. What md could do about it is at least present a consistent view of data to fsck (which for raid1 would be read all stripes and issue "repair" if they don't match). Yes, this might indeed cause corruption but at least it would be consistent and visible.
-- Mikael Abrahamsson email: swmike@xxxxxxxxx -- 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