-
Notifications
You must be signed in to change notification settings - Fork 603
Open
Labels
Description
Hello,
I am using Proxmox and find a problem in my setup in file
resource-agents/rgmanager/src/resources/lvm.sh.
HA-LVM did not be activate with error
[lvm] * initrd image needs to be newer than lvm.conf
After a bit digging found that the find command fails in my setup.
The failing line is
if [ "$(find /boot -name *.img -newer /etc/lvm/lvm.conf)" == "" ]; then
This needs to be changed as
if [ "$(find /boot -maxdepth 1 -name initrd.img* -newer /etc/lvm/lvm.conf)" == "" ]; then
More details;
http://forum.proxmox.com/threads/23451-cluster-HA-LVM-service-fails-beacuse-of-a-bug?p=117429