On Sun, April 19, 2009 9:47 pm, Piergiorgio Sartor wrote: > Hi all, > > what is the proper way to assemble a two disk, > RAID-1, without superblock. > That is, created with "-B" instead of "-C". Why would you want a RAID-1 without superblock. I generally consider that a legacy configuration. > > I noticed that re-using "-B", will start an > array sync/repair, but it is not clear to me > which disk is source and which is destination. As there is no superblock, md cannot tell if the array is "clean" or not. It assumes the worst. If you know for a fact that the two mirrors are consistent, then tell mdadm with "--assume-clean". > > Using a bitmap file, seems to be safer option, > but I'm not sure if this is just a workaround > or it is the proper way. A bitmap (which has to be in a separate file) can be use to record the clean/dirty status. It provides some of the same functionality as a superblock. But it is not a complete replacement. To quote from the man page: Because of this, the Build mode should only be used together with a complete understanding of what you are doing. 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