Skip to contentSkip to conversation

cluster/rgmanager/src/resources lvm.sh

Cluster-devel [email protected] 1 participant 1 message Feb 6, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Changes by: jbrassow at sourceware.org 2008-02-06 17:43:33

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

Log message:
- Bug 431705: HA LVM should prevent users from running an invalid setup (2)
- better checking for improper setup
-- this time for presence of fail-over VG in the volume_list

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/resources/lvm.sh.diff?cvsroot=cluster&r1=1.13&r2=1.14

rgmanager/src/resources/lvm.sh +2 -1
@@ -84,7 +84,8 @@
 	##
 	# Fixme: we might be able to perform a better check...
 	if [ "$(find /boot/*.img -newer /etc/lvm/lvm.conf)" == "" ]; then
-		ocf_log err "HA LVM requires the initrd image to be newer than lvm.conf"
+		ocf_log err "HA LVM:  Improper setup detected"
+		ocf_log err "- initrd image needs to be newer than lvm.conf"
 		return $OCF_ERR_GENERIC
 	fi