Size of the mirror log?
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 |
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.
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]
Quoted 4 lines · Milan Broz
Quoted 3 lines · [email protected] wrote:
Quoted 2 lines · Lupe Christoph [[email protected]] wrote:
I presume the size will depend on the number of mirror regions, but how much log does a region require?
An additional region requires an additional 1 bit.
Alasdair
Signature · 1 line
[email protected]
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.