[DRBD-user] Having Trouble with LVM on DRBD

roger zhou zzhou at suse.com
Fri Feb 26 02:08:23 CET 2016

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.



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
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user

-- 
regards,
Zhou, ZhiQiang (Roger) (office#:+86 10 65339283, cellphone# +86 13391978086)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20160226/9dc06994/attachment.htm>


More information about the drbd-user mailing list