ClusterLabs / ClusterLabs/resource-agents
does lvm.conf newer than initrd check fails
- Dominant language
- Shell
- Stars
- 519
- Forks
- 608
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 7
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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.