CVSROOT:        /cvs/cluster
Module name:    cluster
Branch:         RHEL4
Changes by:     [EMAIL PROTECTED]       2008-01-11 21:33:31

Modified files:
        rgmanager/src/resources: lvm_by_vg.sh 

Log message:
        - Bug #428475
        - HA LVM service fails to relocate when I/O is running
        
        Was failing to add new tag when relocating.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/lvm_by_vg.sh.diff?cvsroot=cluster&only_with_tag=RHEL4&r1=1.1.2.1&r2=1.1.2.2

--- cluster/rgmanager/src/resources/lvm_by_vg.sh        2008/01/03 20:35:39     
1.1.2.1
+++ cluster/rgmanager/src/resources/lvm_by_vg.sh        2008/01/11 21:33:31     
1.1.2.2
@@ -74,7 +74,8 @@
                return $OCF_ERR_GENERIC
        fi
 
-       if ! vgchange --addtag $(local_node_name) $OCF_RESKEY_vg_name; then
+       vgchange --addtag $(local_node_name) $OCF_RESKEY_vg_name
+       if [ $? -ne 0 ]; then
                ocf_log err "Failed to add ownership tag to $OCF_RESKEY_vg_name"
                return $OCF_ERR_GENERIC
         fi

Reply via email to