Bug#824412: lvm2 fails to start its services after install
Nicolas Braud-Santoni
nicolas at braud-santoni.eu
Sun May 15 16:34:31 UTC 2016
Package: lvm2
Version: 2.02.151-1
Severity: important
Dear Maintainer,
Installing lvm2 and immediately attempting to use it fails.
It seems several lvm-related systemd units were installed but not started.
Reloading the systemd units and starting those services (and socket units)
solved the issue.
> root at harbard ~ # lvchange -a y
> WARNING: Failed to connect to lvmetad. Falling back to device scanning.
> Please give logical volume path(s) or use --select for selection.
> Run `lvchange --help' for more information.
> root at harbard ~ # systemctl daemon-reload
> root at harbard ~ # systemctl start lvm2-lvmetad.socket lvm2-lvmpolld.socket lvm2-monitor.service
> root at harbard ~ # lvchange -a y
> Please give logical volume path(s) or use --select for selection.
> Run `lvchange --help' for more information.
> root at harbard ~ # lvs
> LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
> home lapgen -wi------- 185.00g
Best,
nicoo
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages lvm2 depends on:
ii dmeventd 2:1.02.123-1
ii dmsetup 2:1.02.123-1
ii init-system-helpers 1.33
ii libblkid1 2.28-1
ii libc6 2.22-7
ii libdevmapper-event1.02.1 2:1.02.123-1
ii libdevmapper1.02.1 2:1.02.123-1
ii liblvm2app2.2 2.02.151-1
ii libreadline5 5.2+dfsg-3+b1
ii libudev1 229-5
ii lsb-base 9.20160110
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