Skip to contentSkip to conversation

How big can an LVM mirror log get?

linux-lvm Ben 2 participants 2 messages Apr 21, 2013 – Apr 25, 2013

lore
Share & tools
lore

Ben

author
#0 lore raw

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.

#1 lore raw

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

Quoted 11 lines · Ben

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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/