[linux-lvm] LVM mirror questions
Stuart D. Gathman
stuart at bmsi.com
Wed Oct 6 17:03:22 UTC 2010
On Wed, 6 Oct 2010, Jay wrote:
> Thank you for your answer and advice. How unfortunate about lvm mirroring
> being broken. I like your suggestion about how it SHOULD work. In fact,
> long ago in a different age when I was working with rs6000s, I believe that
> is how reliable mirroring was accomplished with the ibm lvm. Either that or
Yes, AIX mirroring was great.
The current LVM strategy could work, just use the option to store the
mirror log on the same PV as one of the mirrors. If you lose the PV
without the log - no problem. If you lose the PV *with* the log, it
reverts to an in-core log, which is not a problem with the single remaining
leg. The drawback to this is performance. The main reason to put the
mirror log on a 3rd device is so the 3 writes occasioned by every write
to the LV can be done in parallel.
I don't know how LVM handles issues of PVs that are not permanently dead
and come back on line again later. The md driver uses a generation count in
the super block to determine which is newer. (How is that updated without loss
I still use the md driver myself. The LVM mirror support just doesn't "feel"
Stuart D. Gathman <stuart at bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
More information about the linux-lvm