All of lore.kernel.org
 help / color / mirror / Atom feed
* How big should raid metadata device be?
@ 2015-11-02 19:55 Andy Grover
  2015-11-03  1:01 ` Heinz Mauelshagen
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Grover @ 2015-11-02 19:55 UTC (permalink / raw)
  To: device-mapper development

Hi all,

In looking at md-raid one question I had was exactly how large does the 
metadata device need to be in comparison to the data device? It contains 
a padded-to-4Kbyte sized raid metadata struct, and then also a write 
intent bitmap that is sized based upon the number of stripes, with 16 
bits per stripe.

Is it correct to say the minimum size of the metadata device should be:

4096 + (2 * stripe_count)

bytes?

Thanks -- Andy

p.s. LVM2 allocates 1 extent (default 4MiB) for the raid meta device. 
But it's not clear if given a large enough raid dev, and configured with 
a much smaller extent size than the default, if one extent might not be 
enough.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-11-03 17:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-02 19:55 How big should raid metadata device be? Andy Grover
2015-11-03  1:01 ` Heinz Mauelshagen
2015-11-03 17:29   ` Andy Grover

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.