Problem:

Ubuntu tales more than 30 to boot. In the console show a message “Failed to connect to lvmetad. Falling back to device scanning.”

Workaround :

delete This file to avoid resume the computer :

sudo rm /etc/initramfs-tools/conf.d/resume