raid1: metadata 1.2 size calculation formula needed
Hi Neil, hi others,
we want to be able to calculate the size of the MD metadata 1.2 + bitmap size in advance before creating MD RAID 1 volumes.
Is there somewhere a documented formula?
I guess the metadata is at fixed size + 0x1000 at the beginning of the block device. Then, the bitmap size depends on the bitmap chunksize + boundary filling.
When growing/shrinking, the bitmap remains at the size from creation and only the bitmap chunksize is adjusted, right?
Cheers,
Sebastian
Signature · 14 lines
Sebastian Riemer Linux Kernel Developer ProfitBricks GmbH • Greifswalder Str. 207 • 10405 Berlin, Germany www.profitbricks.com • [email protected] Sitz der Gesellschaft: Berlin Registergericht: Amtsgericht Charlottenburg, HRB 125506 B Geschäftsführer: Andreas Gauger, Achim Weiss -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html