On 18/08/16 05:01, Chris Dunlop wrote: > I'm interested to see if there's a way of essentially doing the above on a > live system, assuming there's appropriate care taken to not trash any > existing data (including superblocks). > > I.e. is it *theoretically* possible to write the same data back to the whole > disk safely. E.g. using 'dd' from/to the same disk is almost there, but, as > described, there's a window of opportunity where you could get stale data on > the disk and a raid repair could then copy that stale data to the good disk. There is something called "scrub". My superficial knowledge of raid doesn't let me know what it is, but as far as I can make out it forces a whole-disk-write or somesuch. Explicitly to flush out such problems. If someone else can tell you how to scrub your disks, I'd try that. It's especially recommended, I think, for people with desktop drives in their array because it flushes out pending problems, which with desktop drives typically remove the "R" from "raid". Cheers, Wol -- 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