On 02/25/2016 03:14 PM, Eric Robinson wrote:
I have a 2-node cluster, where each node is primary for one drbd volume and secondary for the other node’s drbd volume. Replication is A->B for drbd0 and A<-B for drbd1. I have a logical volume and filesystem on each drbd device. When I try to failover resources, the filesystem fails to mount because lvdisplay shows the logical volume is listed as “not available” on the target node. Is there some trick to getting LVM on DRBD to fail over properly?
Your situation is very much like you have "use_lvmetad = 1" in you lvm.conf. You must change it to "0" to disable lvmetad. That said, lvmetad is not cluster aware.
Cheers, Roger
-- Eric Robinson _______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
-- regards, Zhou, ZhiQiang (Roger) (office#:+86 10 65339283, cellphone# +86 13391978086)
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
