lvmetad not available during system boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have got a clean Ubuntu 18.04 install with LUKS full disk encryption and I experience slow boot time compared to Ubuntu 16.04 and 17.10. What exactly happends:
1. Power up the laptop.
2. The OS loads and prompts for device password
3. Nothing happens for 2 or 3 iterations of the progress bar (the moving dots).
4. The OS boots and login screen is presented.
What I feel wrong and it didn't happen neither on 16.04 nor on 17.10 is the delay at step 3.
In /var/log/boot.log I noticed these lines:
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Volume group "ubuntu-vg" not found
Cannot process volume group ubuntu-vg
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
Reading all physical volumes. This may take a while...
Found volume group "ubuntu-vg" using metadata type lvm2
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
3 logical volume(s) in volume group "ubuntu-vg" now active
I managed to reproduce the same issue on a VM with standard installation by selecting "Encrypt the new Ubuntu installation for security".
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: systemd 237-3ubuntu10
ProcVersionSign
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sun May 6 17:23:41 2018
MachineType: LENOVO 20C500F8BM
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/23/2016
dmi.bios.vendor: LENOVO
dmi.bios.version: J9ET9EWW (2.24 )
dmi.board.
dmi.board.name: 20C500F8BM
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 PRO
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: ThinkPad Edge E440
dmi.product.name: 20C500F8BM
dmi.product.
dmi.sys.vendor: LENOVO
affects: | systemd (Ubuntu) → lvm2 (Ubuntu) |