HomeClusterLabs Projects

LVM Agents: Warn instead of fail if initrd is newer than lvm.conf

Description

LVM Agents: Warn instead of fail if initrd is newer than lvm.conf

There are many reasons why a user may change the lvm.conf file. They might
change filters or default segment types, etc. Making the HA LVM scripts
error our every time the lvm.conf file is newer than the initrd, can cause
serious problems. For example, if a service is running and lvm.conf is
changed, a subsequent fail-over would not work because the HA LVM script
would abort on this condition.

Instead of making things potentially worse, we have the scripts warn the
user (rather than failing) whenever this condition is hit. That way,
the user isn't suddenly surprised by things not working.

Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>

Details

Provenance
Jonathan Brassow <jbrassow@redhat.com>Authored on Oct 5 2012, 3:07 PM
Parents
rR615182e26f96: Merge pull request #143 from jnpkrn/patches
Branches
Unknown
Tags
Unknown

Event Timeline