udev and lvm2 hang at boot
I'm experiencing a really long wait when booting freshly installed xubuntu 11.10 with only updates and mdadm + lvm2 installed. I have managed to narrow it down somewhat but still looking for a fix.
After disabling splash and quiet from grub I noticed it's waiting at /scripts/
Not surprisingly i found a "udevadm control --timeout 61 --exit" line in there. Well, why does it fail so badly it waits for timeout before exiting?
After quite a bit of googling I found this:
http://
Ari Savolainen writes:
An init script (/scripts/
"udevadm control --timeouta --exit".
At the same time udevd is executing "/sbin/lvm vgchange -a y" (from
/lib/udev/
volume. After that lvm gets stuck forever. Booting continues after the
61 second timeout.
Milan Broz writes:
If you call vgchange or even vgscan from udev rule, it is completely wrong.
This is not lvm upstream udev rule btw.
This makes me slightly worried, does this cause any other problems than a annoyingly slow boot? Is there any way to fix this? I this a known issue?
Question information
- Language:
- English Edit question
- Status:
- Open
- For:
- Ubuntu udev Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Filip Granö for more information if necessary.