On 21/03/2012 13:21, CoolCold wrote:
Btw, was interested in, where bitmap will be placed when adding it on live array? I.e. as it requires some diskspace, we should provide some free space, but where it can be taken from if array is already created and used by, say filesystem?
There's room allocated in the metadata for it at create time, whether or not it's used from create time, ever since bitmaps were introduced. Before mdadm 3.1.2, total metadata size depended on the array size, because the bitmap size depended on the array size, but from 3.1.2 on mdadm allocates 1MB for metadata including the bitmap (which is much more than is really needed but helps keep things 1MB-aligned).
Cheers, John. -- 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