Sebastian Riemer | 17 Jul 2012 11:27
Favicon

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

--

-- 
Sebastian Riemer
Linux Kernel Developer

ProfitBricks GmbH • Greifswalder Str. 207 • 10405 Berlin, Germany
www.profitbricks.com • sebastian.riemer <at> profitbricks.com

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 majordomo <at> vger.kernel.org
(Continue reading)


Gmane