How big should raid metadata device be?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel



[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux