All of lore.kernel.org
 help / color / mirror / Atom feed
* raid1: metadata 1.2 size calculation formula needed
@ 2012-07-17  9:27 Sebastian Riemer
  0 siblings, 0 replies; only message in thread
From: Sebastian Riemer @ 2012-07-17  9:27 UTC (permalink / raw)
  To: linux-raid

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@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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-17  9:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-17  9:27 raid1: metadata 1.2 size calculation formula needed Sebastian Riemer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.