[Bug 833891] Re: lvscan often times out during boot
Serge Hallyn
833891 at bugs.launchpad.net
Fri Sep 23 23:23:33 UTC 2011
Quoting Alex Lyakas (alex at zadarastorage.com):
Thanks for the information, Alex.
> Activating the LVs (that ubuntu's rule does) is perhaps not a bad thing. But
> the problem is that this is done within the context of udev event
> processing, which may cause the udev event processing to get stuck.
So I wonder if it would suffice to fire off the vgchange call asynchronously,
so that vgchange can then spin on the lock while the udev rule proceeds to
exit. Then vgchange can proceed when udev drops the lv lock.
Does that make any sense? It might mess up the use off watershed
though.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/833891
Title:
lvscan often times out during boot
Status in “udev” package in Ubuntu:
Confirmed
Bug description:
I'm not 100% certain that mountall is the problem, but seems a good
place to start.
I have some LVM partitions on my laptop, and some filesystems on there
are mounted through fstab:
/dev/schroots/schroots /srv/devel ext3 defaults,relatime 0 0
/dev/schroots/isos /iso ext4 defaults,relatime 0 0
Often (1/3 of the time?) boot hangs, and after a minute or so I get a
message saying something about watershed and lvscan timing out. Then
it proceeds to mount everything readonly.
Other times boot proceeds with no problem.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: mountall 2.31
ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Thu Aug 25 10:56:52 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110627.1)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: mountall
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/833891/+subscriptions
More information about the foundations-bugs
mailing list