[linux-lvm] How big can an LVM mirror log get?

Brassow Jonathan jbrassow at redhat.com
Thu Apr 25 15:26:33 UTC 2013


LV_size / region_size = region_cnt
region_cnt / 8 ~= number of bytes necessary for the log

So,
100GiB LV / 512kiB region size = 200,000 regions
200000 / 8 = ~25kiB log

It takes quite a bit to get the log to be large and if that happens and you don't like it, you can always increase the region size.

 brassow

On Apr 21, 2013, at 2:37 PM, Ben wrote:

> In my testing of LVM2 I have seen a mirror log up to 512KiB. Does anyone know, 
> outside of pathlogical use cases, what the largest mirror log that would be 
> created using the default region size? 
> 
> Thank you.
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/





More information about the linux-lvm mailing list