* [linux-lvm] Size of the mirror log?
@ 2009-01-28 8:50 Lupe Christoph
2009-01-28 16:26 ` malahal
0 siblings, 1 reply; 5+ messages in thread
From: Lupe Christoph @ 2009-01-28 8:50 UTC (permalink / raw)
To: linux-lvm
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
--
| There is no substitute for bad design except worse design. |
| /me |
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Size of the mirror log?
2009-01-28 8:50 [linux-lvm] Size of the mirror log? Lupe Christoph
@ 2009-01-28 16:26 ` malahal
2009-01-28 16:56 ` Milan Broz
0 siblings, 1 reply; 5+ messages in thread
From: malahal @ 2009-01-28 16:26 UTC (permalink / raw)
To: linux-lvm
Lupe Christoph [lupe@lupe-christoph.de] 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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Size of the mirror log?
2009-01-28 16:26 ` malahal
@ 2009-01-28 16:56 ` Milan Broz
2009-01-28 17:00 ` Alasdair G Kergon
2009-01-28 17:14 ` malahal
0 siblings, 2 replies; 5+ messages in thread
From: Milan Broz @ 2009-01-28 16:56 UTC (permalink / raw)
To: LVM general discussion and development
malahal@us.ibm.com wrote:
> Lupe Christoph [lupe@lupe-christoph.de] 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
--
mbroz@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Size of the mirror log?
2009-01-28 16:56 ` Milan Broz
@ 2009-01-28 17:00 ` Alasdair G Kergon
2009-01-28 17:14 ` malahal
1 sibling, 0 replies; 5+ messages in thread
From: Alasdair G Kergon @ 2009-01-28 17:00 UTC (permalink / raw)
To: LVM general discussion and development
On Wed, Jan 28, 2009 at 05:56:43PM +0100, Milan Broz wrote:
> malahal@us.ibm.com wrote:
> > Lupe Christoph [lupe@lupe-christoph.de] 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
--
agk@redhat.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [linux-lvm] Size of the mirror log?
2009-01-28 16:56 ` Milan Broz
2009-01-28 17:00 ` Alasdair G Kergon
@ 2009-01-28 17:14 ` malahal
1 sibling, 0 replies; 5+ messages in thread
From: malahal @ 2009-01-28 17:14 UTC (permalink / raw)
To: linux-lvm
Milan Broz [mbroz@redhat.com] wrote:
> malahal@us.ibm.com wrote:
> > Lupe Christoph [lupe@lupe-christoph.de] 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
Thank you Milan. I was looking at the 2.02.43 that I was working with.
--Malahal.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-01-28 17:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-28 8:50 [linux-lvm] Size of the mirror log? Lupe Christoph
2009-01-28 16:26 ` malahal
2009-01-28 16:56 ` Milan Broz
2009-01-28 17:00 ` Alasdair G Kergon
2009-01-28 17:14 ` malahal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.