Skip to contentSkip to conversation

Size of the mirror log?

linux-lvm Lupe Christoph 4 participants 5 messages Jan 28, 2009

lore
Share & tools
lore
#0 lore raw

Hi!

I'm unable to find any information on how the size of the mirror log is determined. Right now I only have four volumes of 1GB each to test this, obviously too little. We will be getting a few 128GB volumes soon, but I would rather have a formula than some test results...

I presume the size will depend on the number of mirror regions, but how much log does a region require?

Thanks for help,
Lupe Christoph

Signature · 2 lines
| There is no substitute for bad design except worse design.                   |
| /me                                                                          |
#1 lore raw
Quoted 9 lines · Lupe Christoph [[email protected]] wrote:

Hi!

I'm unable to find any information on how the size of the mirror log is determined. Right now I only have four volumes of 1GB each to test this, obviously too little. We will be getting a few 128GB volumes soon, but I would rather have a formula than some test results...

I presume the size will depend on the number of mirror regions, but how much log does a region require?

Currently the log size is fixed at 1 PE (4MB by default). It is always a 1 PE.

#2 lore raw
Quoted 11 lines · [email protected] wrote:
Quoted 7 lines · Lupe Christoph [[email protected]] wrote:

I'm unable to find any information on how the size of the mirror log is determined. Right now I only have four volumes of 1GB each to test this, obviously too little. We will be getting a few 128GB volumes soon, but I would rather have a formula than some test results...

I presume the size will depend on the number of mirror regions, but how much log does a region require?

Currently the log size is fixed at 1 PE (4MB by default). It is always a 1 PE.

Since LVM2 2.02.44 release mirror log size is properly calculated and can be higher, it is not fixed to 1 PE anymore.

Milan
--
[email protected]

#4 lore raw
In reply to Milan Broz
Quoted 10 lines · Milan Broz [[email protected]] wrote:
Quoted 9 lines · [email protected] wrote:
Quoted 7 lines · Lupe Christoph [[email protected]] wrote:

I'm unable to find any information on how the size of the mirror log is determined. Right now I only have four volumes of 1GB each to test this, obviously too little. We will be getting a few 128GB volumes soon, but I would rather have a formula than some test results...

I presume the size will depend on the number of mirror regions, but how much log does a region require?

Quoted 8 lines
Quoted 2 lines

Currently the log size is fixed at 1 PE (4MB by default). It is always a 1 PE.

Since LVM2 2.02.44 release mirror log size is properly calculated and can be higher, it is not fixed to 1 PE anymore.

Milan

Thank you Milan. I was looking at the 2.02.43 that I was working with.

--Malahal.