Hello David, Thank for your attention. I will let the user try these patches. Thanks Gang >>> On 2018/10/19 at 1:59, in message <20181018175923.GC28661@xxxxxxxxxx>, David Teigland <teigland@xxxxxxxxxx> wrote: > On Thu, Oct 18, 2018 at 11:01:59AM -0500, David Teigland wrote: >> On Thu, Oct 18, 2018 at 02:51:05AM -0600, Gang He wrote: >> > If I include this patch in lvm2 v2.02.180, >> > LVM2 can activate LVs on the top of RAID1 automatically? or we still have > to set "allow_changes_with_duplicate_pvs=1" in lvm.conf? >> >> I didn't need any config changes when testing this myself, but there may >> be other variables I've not encountered. > > See these three commits: > d1b652143abc tests: add new test for lvm on md devices > e7bb50880901 scan: enable full md filter when md 1.0 devices are present > de2863739f2e scan: use full md filter when md 1.0 devices are present > > at > https://sourceware.org/git/?p=lvm2.git;a=shortlog;h=refs/heads/2018-06-01-sta > ble > > (I was wrong earlier; allow_changes_with_duplicate_pvs is not correct in > this case.) _______________________________________________ linux-lvm mailing list linux-lvm@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-lvm read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/