[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/rgmanager/src/resources lvm_by_vg.sh



CVSROOT:	/cvs/cluster
Module name:	cluster
Changes by:	jbrassow sourceware org	2008-01-11 21:32:51

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

Log message:
	- Bug #428448
	- 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&r1=1.2&r2=1.3

--- cluster/rgmanager/src/resources/lvm_by_vg.sh	2008/01/03 21:02:53	1.2
+++ cluster/rgmanager/src/resources/lvm_by_vg.sh	2008/01/11 21:32:48	1.3
@@ -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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]