[Pacemaker] drbd + lvm

Infoomatic infoomatic at gmx.at
Thu Mar 13 22:28:19 UTC 2014


> > Has anyone had this issue and resolved it? Any ideas? Thanks in advance!
> 
> Yep, i've hit this as well. Use the latest LVM agent. I already fixed all of this.
> 
> https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/LVM
> 
> Keep your volume_list the way it is and use the 'exclusive=true' LVM option.   This will allow the LVM agent to activate volumes that don't exist in the volume_list.
> 
> Hope that helps

Thanks for the fast response. I upgraded LVM to the backports (2.02.95-4ubuntu1.1~precise1) and used this script, but I am getting errors when one of the nodes tries to activate the VG.

The log:
Mar 13 23:21:03 lxc02 LVM[7235]: INFO: 0 logical volume(s) in volume group "replicated" now active
Mar 13 23:21:03 lxc02 LVM[7235]: INFO: LVM Volume replicated is not available (stopped)

"exclusive" is true and the tag is "pacemaker". Someone got hints? tia!

infoomatic





More information about the Pacemaker mailing list