Mario Holbe <Mario.Holbe@xxxxxxxxxxxxx> wrote: > Peter T. Breuer <ptb@xxxxxxxxxxxxxx> wrote: > > different (legitimate) data. It doesn't seem relevant to me to consider > > if they are equally up to date wrt the writes they have received. They > > will be in the wrong even if they are up to date. > > The goal is to have two equal mirrors. Of course, one has to decide > which of the both mirrors has the "main" (the surviving) data. The > simple (past) way is to just fail one of the mirrors and add it > again. > To achieve the same result with bitmaps, you have to combine both > bitmaps: Since both systems did writes to their respective mirror, > both mirrors differ in exactly all positions where one of the both > systems did a write (and thus marked the bitmap). So, to get the both > mirrors back in sync, you have to consider both bitmaps, i.e. combine > them. Both have different data. If you have mapped all the writes each have ever done since they separated, all you know is (within) where they have written that different data. You don't know who has the right data. Yes, you can "sync" them by writing any one of the two mirrors to the other one, and need do so only on the union of the mapped data areas, but it won't help you get the right data (i.e. "yes"). The problem was in letting them both write to their respective disks in the first place. Peter - 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