Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resume errors with LVM? #110

Open
cboettig opened this issue Dec 10, 2018 · 3 comments
Open

resume errors with LVM? #110

cboettig opened this issue Dec 10, 2018 · 3 comments

Comments

@cboettig
Copy link

Anyone else experience resume errors after configuring a distro using LVM?

I see the following error on startup

Failed to connect to lvmetad. Falling back to device scanning.

this is mostly annoying because it seems the lvmetad connection waits 30 seconds before it gives up and falls back on device scanning, creating a 30 sec delay in boot or resume from sleep. I believe it is this confirmed bug in Ubuntu Bionic: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1768230, the work-around of deleting /etc/initramfs-tools/conf.d/resume seems to eliminate the wait time for boot but not for resume?

@mpalourdio
Copy link
Owner

mpalourdio commented Dec 10, 2018

I have had this problem after a dist upgrade. My swap partition had the wrong uuid.

I think I did something like that to fix it : https://forums.linuxmint.com/viewtopic.php?t=242867

Edit : I have found the exact post that solved my problem : https://forums.linuxmint.com/viewtopic.php?t=277375

I have found the problem / solution.
There was a wrong UUID of the swap-drive in /etc/initramfs-tools/conf.d/resume.
I have absolutely no clue, where it came from.
Was it me?! Was it the installation-/configuration-process of the OS?!
I took the correct UUID from blkid and put it into resume.
After this, i ran sudo update-initramfs -u.

@cboettig
Copy link
Author

Hmm, I've tried setting the UUID for the swap (given by blkid) in /etc/initramfs-tools/conf.d/resume and in /etc/fstab, but still see this same delay. (seems like some other users do as well: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1768230/comments/69). Not sure if this is under the scope of the kernel, I'm running 4.19.7 to resolve #109 ...

@mpalourdio
Copy link
Owner

Well no idea then. That what fixed my long boot delay :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants