Re: LVM feature parity with MD

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

 



> On May 3, 2016, at 3:34 AM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
> 
> On 2.5.2016 13:03, Fabian Herschel wrote:
>> Can LVM doing a delta sync and does LVM have something like a bitamp to show
>> which parts are in sync and which needs a sync?
>> 
> 
> Hi
> 
> lvm uses small metadata LV with each raid1 leg - which holds the bitmap about individual regionsize areas in sync.
> 
> So when there is 'crash' only async areas are synced again after array restart.

In fact, it works very much the same way as MD, because it uses the same kernel module to perform it.  You can also check-out ‘lvconvert —splitmirror —trackchanges …’.  This would allow you to temporarily split off a RAID1 leg and then reintroduce it later while only updating the portions that have changed.

When you use the ‘raid1’ segment type (the default upstream and in RHEL7) and not the ‘mirror’ segment type, a transient failure can be recovered while only resyncing the changes.

 brassow

_______________________________________________
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