CVSROOT: /cvs/cluster
Module name: cluster
Changes by: [EMAIL PROTECTED] 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
--- cluster/rgmanager/src/resources/lvm.sh 2008/02/06 16:40:27 1.13
+++ cluster/rgmanager/src/resources/lvm.sh 2008/02/06 17:43:33 1.14
@@ -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