Bug#886299: /run/lvm/lvmpolld.socket: connect failed: No such file or directory

Tim Connors tim.w.connors at gmail.com
Thu Jan 4 04:44:24 UTC 2018


Package: lvm2
Version: 2.02.168-2
Severity: normal

498368,50> sudo pvmove -n dirac/home /dev/sda2 /dev/sdb1
  /run/lvm/lvmpolld.socket: connect failed: No such file or directory
  WARNING: Failed to connect to lvmpolld. Proceeding with polling without using lvmpolld.
  WARNING: Check global/use_lvmpolld in lvm.conf or the lvmpolld daemon state.
  /dev/sda2: Moved: 0.01%

Hmm, did it start (sysvinit system here)?

498325,26> l /etc/rc*/*lvm*
lrwxrwxrwx 1 root root 22 Jun 16  2017 /etc/rc0.d/K01lvm2-lvmetad -> ../init.d/lvm2-lvmetad
lrwxrwxrwx 1 root root 23 Jun 16  2017 /etc/rc0.d/K01lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld
lrwxrwxrwx 1 root root 22 Jun 16  2017 /etc/rc1.d/K01lvm2-lvmetad -> ../init.d/lvm2-lvmetad
lrwxrwxrwx 1 root root 23 Jun 16  2017 /etc/rc1.d/K01lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld
lrwxrwxrwx 1 root root 22 Oct 17 17:27 /etc/rc2.d/S02lvm2-lvmetad -> ../init.d/lvm2-lvmetad
lrwxrwxrwx 1 root root 23 Oct 17 17:27 /etc/rc2.d/S02lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld
lrwxrwxrwx 1 root root 22 Oct 17 17:27 /etc/rc3.d/S02lvm2-lvmetad -> ../init.d/lvm2-lvmetad
lrwxrwxrwx 1 root root 23 Oct 17 17:27 /etc/rc3.d/S02lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld
lrwxrwxrwx 1 root root 22 Oct 17 17:27 /etc/rc4.d/S02lvm2-lvmetad -> ../init.d/lvm2-lvmetad
lrwxrwxrwx 1 root root 23 Oct 17 17:27 /etc/rc4.d/S02lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld
lrwxrwxrwx 1 root root 22 Oct 17 17:27 /etc/rc5.d/S02lvm2-lvmetad -> ../init.d/lvm2-lvmetad
lrwxrwxrwx 1 root root 23 Oct 17 17:27 /etc/rc5.d/S02lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld
lrwxrwxrwx 1 root root 22 Jun 16  2017 /etc/rc6.d/K01lvm2-lvmetad -> ../init.d/lvm2-lvmetad
lrwxrwxrwx 1 root root 23 Jun 16  2017 /etc/rc6.d/K01lvm2-lvmpolld -> ../init.d/lvm2-lvmpolld
lrwxrwxrwx 1 root root 14 Oct 17 17:27 /etc/rcS.d/S06lvm2 -> ../init.d/lvm2

yep:

498481,6> sudo less /var/log/boot
...
Thu Jan  4 03:52:03 2018: [....] Starting LVM2 poll daemon: lvmpolld^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
Thu Jan  4 03:52:03 2018: /dev/mcelog not active
Thu Jan  4 03:52:03 2018: [....] Starting LVM2 metadata daemon: lvmetad^[[?25l^[[?1c^[7^[[1G[^[[32m ok ^[[39;49m^[8^[[?25h^[[?0c.
...

No other failure log messages in /var/log/messages

But yet, no lvmpoll:

498327,28> sudo ls -lA /run/lvm
total 0
srwx------ 1 root root 0 Jan  4 03:52 lvmetad.socket
0-0-15:00:34, Thu Jan 04 tconnors at dirac:~ (bash)

ok, let's restart it:

498328,29> sudo /etc/init.d/lvm2-lvmpolld restart
[ ok ] Restarting LVM2 poll daemon: lvmpolld.
0-0-15:00:43, Thu Jan 04 tconnors at dirac:~ (bash)
498329,30> ps axuf | grep lvm
root      3204  0.0  0.0 248508   796 ?        Ssl  03:52   0:00 /sbin/lvmetad
tconnors 17249  0.0  0.0  20164  3000 pts/11   S+   03:56   0:00              |       |           \_ man lvmcache
tconnors 26929  0.0  0.0  20164  3072 pts/13   S+   04:36   0:00              |       |           \_ man lvmcache
tconnors 18076  0.0  0.0  11508  1000 pts/19   S+   15:00   0:00  |           \_ grep --color=auto lvm
root     17977  0.0  0.0  27308   228 ?        Ss   15:00   0:00 /sbin/lvmpolld -t 60
0-0-15:00:47, Thu Jan 04 tconnors at dirac:~ (bash)
498330,31> sudo ls -lA /run/lvm
total 0
srwx------ 1 root root 0 Jan  4 03:52 lvmetad.socket
srwx------ 1 root root 0 Jan  4 15:00 lvmpolld.socket




-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (5, 'testing'), (2, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.137-2
ii  dmsetup                   2:1.02.137-2
ii  init-system-helpers       1.48
ii  libblkid1                 2.29.2-1
ii  libc6                     2.24-11+deb9u1
ii  libdevmapper-event1.02.1  2:1.02.137-2
ii  libdevmapper1.02.1        2:1.02.137-2
ii  liblvm2app2.2             2.02.168-2
ii  libreadline5              5.2+dfsg-3+b1
ii  libudev1                  234-3~bpo9+1
ii  lsb-base                  9.20161125

lvm2 recommends no packages.

Versions of packages lvm2 suggests:
pn  thin-provisioning-tools  <none>

-- no debconf information



More information about the pkg-lvm-maintainers mailing list