[opensuse-factory] [Tumbleweed] LVM error during todays' update
While updating Tumbleweed today to the 20141203 version I got messages like this from zypper: --8<---------------cut here---------------start------------->8--- ( 21/192) Installing: grub2-branding-openSUSE-13.2-10.8 ........................................................................................[done] Additional rpm output: Generating grub configuration file ... File descriptor 4 (/) leaked on vgs invocation. Parent PID 10316: /usr/sbin/grub2-probe WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it! connect() failed on local socket: No such file or directory Internal cluster locking initialisation failed. WARNING: Falling back to local file-based locking. Volume Groups with the clustered attribute will be inaccessible. […] --8<---------------cut here---------------end--------------->8--- I get the same warning if I simply run lvs. I have installed on an LVM group spanning the whole disk (the standard LVM setup offered by the installer) and I don't think lvmetad should be running, which lvm.conf seems to confirm: --8<---------------cut here---------------start------------->8--- # lvm dumpconfig|grep meta WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it! connect() failed on local socket: No such file or directory Internal cluster locking initialisation failed. WARNING: Falling back to local file-based locking. Volume Groups with the clustered attribute will be inaccessible. metadata_read_only=0 use_lvmetad=0 debug_classes=["memory", "devices", "activation", "allocation", "lvmetad", "metadata", "cache", "locking"] thin_pool_metadata_require_separate_pvs=0 --8<---------------cut here---------------end--------------->8--- Yet systemd says: --8<---------------cut here---------------start------------->8--- # systemctl status '*meta*' lvm2-lvmetad.service - LVM2 metadata daemon Loaded: loaded (/usr/lib/systemd/system/lvm2-lvmetad.service; enabled) Active: active (running) since Sat 2014-12-06 09:08:08 CET; 21min ago Docs: man:lvmetad(8) Main PID: 553 (lvmetad) CGroup: /system.slice/lvm2-lvmetad.service └─553 /sbin/lvmetad -f --8<---------------cut here---------------end--------------->8--- Additionally, that service gets started by lvm2-lvmetad.socket if not running. So something is wrong with that configuration, how to fix it properly? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Achim Gratz writes:
WARNING: lvmetad is running but disabled. Restart lvmetad before enabling it!
Supposedly fixed with the new Tumbleweed version. I'll keep an eye on it since it was still running after the first reboot and showing as enabled (I have disabled it manually now). Something is still wrong with the socket configuration: --8<---------------cut here---------------start------------->8--- # systemctl status lvm2-lvmetad.socket lvm2-lvmetad.socket - LVM2 metadata daemon socket Loaded: loaded (/usr/lib/systemd/system/lvm2-lvmetad.socket; enabled) Active: active (running) since Sun 2014-12-07 18:10:53 CET; 51min ago Docs: man:lvmetad(8) Listen: /run/lvm/lvmetad.socket (Stream) Dec 07 18:10:53 Gertrud systemd[1]: [/usr/lib/systemd/system/lvm2-lvmetad.socket:9] Unknown lvalue 'RemoveOnStop' in section 'Socket' --8<---------------cut here---------------end--------------->8---
connect() failed on local socket: No such file or directory Internal cluster locking initialisation failed. WARNING: Falling back to local file-based locking. Volume Groups with the clustered attribute will be inaccessible. […]
Something enabled an LVM cluster (uh, what?!?), this messages are gone after an lvmconf --disable-cluster corrects that. I have no idea what could have enabled a cluster in my LVM setup since it only has a single device anyway. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Achim Gratz