[Linux-ha-dev] [PATCH 1/2] Low: LVM: add local convenience variables in LVM_start

2011-11-25 Thread Florian Haas
--- heartbeat/LVM | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/heartbeat/LVM b/heartbeat/LVM index 683d4d5..d8ad3ca 100755 --- a/heartbeat/LVM +++ b/heartbeat/LVM @@ -201,6 +201,8 @@ LVM_monitor() { # Enable LVM volume # LVM_start() { + local

[Linux-ha-dev] [PATCH 0/2] LVM: Fix activation for clustered VGs

2011-11-25 Thread Florian Haas
Lars (both), Dejan, Nils, could you take a quick peek at whether the following (untested) patches look like they're making sense? The more important one is obviously the second one. Nils, could you apply those patches on the system where you ran into the issue? If it's more convenient, you can

[Linux-ha-dev] [PATCH 2/2] Medium: LVM: force dmevent monitoring for clones

2011-11-25 Thread Florian Haas
Starting a clustered volume with monitoring disabled is not allowed: http://www.redhat.com/archives/lvm-devel/2010-March/msg00289.html Which would be fine, as activation/monitoring = 1 ships as the default in lvm.conf. However, at least some versions of LVM seem to ignore this, throwing an error