[linux-lvm] Mirrored LVs

malahal at us.ibm.com malahal at us.ibm.com
Fri Oct 23 19:02:30 UTC 2009


Morten Torstensen [morten at mortent.org] wrote:
> >> Why cannot the mirrorlog be stored persistently in one or more LEs in
> >> the LV? Why the need for a seperate PV for this?
> >
> > For better redundancy...
> 
> In a LE it would be mirrored too and a copy would be in each mirror...

That is not possible with the current LVM code. The log can't be a
'mirror' segment. Jonathan posted few patches to place the log on
mirrored segment but the code is not in the upstream yet!

> > Use "--alloc anywhere" to place the log LV on one of them when you
> > create your mirror.
> 
> Yes, but this will have the side effect of not ensuring separate PVs
> for the mirrored LV? An the mirror log would still not be mirrored, so
> in a failure situation you would still face data loss or force a fully
> resync of the mirror.

Agreed!




More information about the linux-lvm mailing list