Re: LVM mirror questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phillip, 

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 it was that the metadata/log block was stored on multiple disks with a quorum needed to be functional.

I will convert to md mirror device.    If I had more skill, I would contribute somehow to the development effort.    As it is, I will lurk on the list to see I can be helpful to someone else.    Again, I appreciate your help.

Regards,
Jason Harris

 


From: Phillip Susi <psusi@cfl.rr.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Jay <jrharris19@yahoo.com>
Sent: Tue, October 5, 2010 8:40:46 AM
Subject: Re: LVM mirror questions

On 10/4/2010 7:55 PM, Jay wrote:
> the other disk and lvcovert.    But it wouldn't work, saying I needed to
> add space on yet a third device for the log.  Either that, or I could
> keep the mirror log in memory.  Lvm would have to rebuild a 1TB mirror
> every time the system was rebooted if the log was left in memory.  That
> doesn't sound efficient.  So.  Put the log on disk.  I couldn't find
> an answer in man pages, but if the log is lost, then is the whole mirror
> lost ?  That would mean to have the benefits of a mirror, the log would
> have to be at least as reliable as the mirror itself (or
> inconsequential). 
>
> So, another mirror would have to be built of tiny size to hold the log,
> then lvconvert can be given something like -log disk /dev/vghuh/lvtiny,
> etc..

As you have noticed, LVM mirror support is basically broken or not fully
implemented yet.  The mirror log SHOULD be stored on both legs of the
mirror in a block allocated automatically in the metadata area by lvm,
but isn't.  If you want to mirror, you should do so using mdadm and then
use the md device as an lvm pv.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux