From mboxrd@z Thu Jan 1 00:00:00 1970 From: jbrassow@sourceware.org Date: 6 Feb 2008 17:43:34 -0000 Subject: [Cluster-devel] cluster/rgmanager/src/resources lvm.sh Message-ID: <20080206174334.12349.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --- 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