All of lore.kernel.org
 help / color / mirror / Atom feed
From: jbrassow@sourceware.org <jbrassow@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster/rgmanager/src/resources lvm_by_vg.sh
Date: 11 Jan 2008 21:33:31 -0000	[thread overview]
Message-ID: <20080111213331.20494.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL4
Changes by:	jbrassow at sourceware.org	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	other threads:[~2008-01-11 21:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-11 21:33 jbrassow [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-01-11 21:32 [Cluster-devel] cluster/rgmanager/src/resources lvm_by_vg.sh jbrassow
2008-01-11 21:32 jbrassow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080111213331.20494.qmail@sourceware.org \
    --to=jbrassow@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.