lvm: disable lvmetad
authorPeter Rajnoha <prajnoha@redhat.com>
Tue, 10 Apr 2012 08:40:53 +0000 (04:40 -0400)
committerHarald Hoyer <harald@redhat.com>
Mon, 16 Apr 2012 12:46:53 +0000 (14:46 +0200)
commitb8a81fb885c981d795a664ae8665e68d7359231a
tree193c3d2de81c2940bf0f360e3f4b01bc75019c80
parent0a35a80b934a0a5a34e3c23244aca0caa440e5d4
lvm: disable lvmetad

Currently dracut uses lvm.conf as found in the system and modifies only
global/locking_type setting. As there's a new feature introduced - the lvmetad
daemon, dracut should disable its use as well by setting "global/use_lvmetad=0"
(patch attached).

Otherwise, there's a warning message issued:

dracut: WARNING: Failed to connect to lvmetad: No such file or directory.
Falling back to internal scanning.

@@ -, +, @@
 modules.d/90lvm/lvm_scan.sh     |    2 ++
 modules.d/90lvm/module-setup.sh |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
modules.d/90lvm/lvm_scan.sh
modules.d/90lvm/module-setup.sh