Tomka Gergely <gergely@xxxxxxxx> wrote: > Can the raid1 detect and handle disk errors? This is what it is designed for :) > If one block goes wrong, how > can the raid1 driver choose which was the correct, original value? RAID1 depends on the disk to state errors. RAID1 does not ensure data integrity. RAID1 cannot correctly handle a disk returning wrong data (i.e. other data than written before). Only RAID2 is designed for such. However, since todays disks have their own data integrity detection (i.e. ECC), they should normally not return wrong data but read-errors instead. And assuming a drive returns either correct data or a read-error, it is simple to choose which was the correct, original value :) regards Mario -- > As Luke Leighton said once on samba-ntdom, "now, what was that about > rebooting? that was so long ago, i had to look it up with man -k." - 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