On Monday October 11, mingz@xxxxxxxxxxx wrote: > :) thanks a lot. so now i know what policy raid1 use. so raid1 will > randomly choose first drive and sync among all drives. so here comes to > another question. after a power loss and reboot, raid1 knows that there > are something wrong and potentially out of sync between two drives. will > it try to check and make sure two drives are in sync or it just leave > two drives there with potential unmatched blocks. > > for example, before reboot, a write to location A happen in progress. > then after reboot. raid1 has no idea on previous write information. it > just knows something might happened and two drives are possible to be > out of sync. will it check whole drive to do a resync? > Yes. It copies all of these first drive onto all of the other drives. NeilBrown - 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