Gentoo Archives: gentoo-user

From: Alex Thorne <lexiconifernelius@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] lvmetad Errors
Date: Wed, 24 Jun 2015 11:13:38
Message-Id: CAB5mfcm8wyqBQ-cquaJKi5ui1VnA+KBZUo-=z163CCkN8y6XcQ@mail.gmail.com
1 I have been getting some lvmetad related errors, some of which can
2 certainly be found on Google, but I haven't had luck fixing them so far.
3
4 I used to get the following error in /var/log/rc.log
5 /run/lvm/lvmetad.socket: connect failed: No such file or directory
6 I am not sure why this was happening, but I read that one fix was to
7 disable lvmetad entirely. And so I set
8 use_lvmetad = 0
9 in /etc/lvm/lvm.conf.
10
11 However, now I get error messages of the following form (e.g. when running
12 grub2-mkconfig):
13 WARNING: lvmetad is runing but disabled. Restart lvmetad before enabling
14 it!
15
16 I ran
17 /etc/init.d/lvmetad needsme
18 and got
19 lvm-monitor lvm
20 I don't understand why lvm is starting lvmetad even when I have disabled
21 it. lvmetad is certainly not in any runlevel itself and I just don't know
22 where to go from here.
23
24 I would appreciate some advice on how to fix either problem (the socket
25 connect issue when lvmetad is enabled, or the fact that lvmetad still
26 starts when it's disabled...)
27
28 Thanks,
29 Alex

Replies

Subject Author
Re: [gentoo-user] lvmetad Errors Peter Humphrey <peter@××××××××××××.uk>