I have been getting some lvmetad related errors, some of which can
certainly be found on Google, but I haven't had luck fixing them so far.
I used to get the following error in /var/log/rc.log
/run/lvm/lvmetad.socket: connect failed: No such file or directory
I am not sure why this was happening, but I read that one fix was to
disable lvmetad entirely. And so I set
use_lvmetad = 0
in /etc/lvm/lvm.conf.
However, now I get error messages of the following form (e.g. when running
grub2-mkconfig):
WARNING: lvmetad is runing but disabled. Restart lvmetad before enabling
it!
I ran
/etc/init.d/lvmetad needsme
and got
lvm-monitor lvm
I don't understand why lvm is starting lvmetad even when I have disabled
it. lvmetad is certainly not in any runlevel itself and I just don't know
where to go from here.
I would appreciate some advice on how to fix either problem (the socket
connect issue when lvmetad is enabled, or the fact that lvmetad still
starts when it's disabled...)
Thanks,
Alex