Molle Bestefich wrote: > Raz Ben-Jehuda(caro) wrote: > >>I have managed to make the kernel remove a disk >>from my raid even if this raid is "/" . I did it by adding a line >>in ata_scsi_error that remove the ata disk from the raid array. >>This means that when the first error ocurrs on a disk It is removed >>from the array. >>Well, this is not the best thing to do.. >>Question is : >>When does a disk become faulty ? > > > When trying to read sectors from a disk and the disk fails the read: > 1.) Read the data from the other disks in the RAID and > 2.) Overwrite the sectors where the read error occur. Note: this is NOT how current linux softraid code works, it's how it *supposed* to work. And right now, linux raid code kicks a drive out of the array after *any* error (read or write), without trying to "understand" what happened. /mjt - 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