2019 May 15
Ubuntu 18.04 (VM snapshot) - works well.

2019 Sep 04:
$ sudo apt update && sudo apt upgrade -y
...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-5.0.0-27-generic
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-5.0.0-27-generic
Found initrd image: /boot/initrd.img-5.0.0-27-generic
Found linux image: /boot/vmlinuz-4.18.0-15-generic
Found initrd image: /boot/initrd.img-4.18.0-15-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
Processing triggers for initramfs-tools (0.130ubuntu3.8) ...
update-initramfs: Generating /boot/initrd.img-5.0.0-27-generic
I: The initramfs will attempt to resume from /dev/dm-1
I: (/dev/mapper/ubuntu--vg-swap_1)
I: Set the RESUME variable to override this.
Processing triggers for dbus (1.12.2-1ubuntu1.1) ...
$ sudo reboot

Baseline:
Fail:

```
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
WARNING: Failed to connect to lvmetad. Falling back to device scanning.
/dev/mapper/ubuntu--vg-root: clean, 1934309/4136960 files, 1775141/16522240 
blocks
```

Test 00:
# Drop into the shell with ctrl+alt+f3
sudo rm /etc/initramfs-tools/conf.d/resume
sudo update-initramfs -u
sudo reboot

Result: Fail


Test 01:
# Drop into the shell with ctrl+alt+f3
sudo rm /etc/initramfs-tools/conf.d/resume
sudo reboot

Result: Fail

Test 02:
# Add this RESUME config
sudo vim /etc/initramfs-tools/conf.d/resume
RESUME=/dev/mapper/ubuntu--vg-swap_1
# Update
sudo update-initramfs -u

Result: Fail




** Attachment added: "Screen Shot 2019-09-04 at 10.01.10 PM.png"
   
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1768230/+attachment/5286901/+files/Screen%20Shot%202019-09-04%20at%2010.01.10%20PM.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768230

Title:
  Long time booting : Failed to connect to lvmetad. Falling back to
  device scanning.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1768230/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to