Am 27.07.2015 um 07:56 schrieb Bastian Blank: > On Sun, Jul 26, 2015 at 12:24:43AM +0200, Michael Biebl wrote: >> Fwiw, I could easily and reliably reproduce this problem in a VM with >> LVM (guided setup with separate /, /home, /tmp, /var) on top of mdadm >> RAID1 with a minimal standard installation. > > There are at least two distinct problems. The cause for the > reproducible problem with MD is known. No cause is known for > the more random blockage.
It looks like [1] is another duplicate of this bug.
>> I see you already got the information you requested from Stefan, I can
>> provide further diagnostics as well, if you want me to.
>
> If you have a more or less reproducible _non_-MD case, then I could use
> this information.
I tried to make lvmetad work a while ago and ran into [2] and [3].
Looking at /lib/udev/rules.d/69-lvm-metad.rules and rules/Makefile.in of
the current package, it looks like lvm2 was not compiled with
UDEV_SYSTEMD_BACKGROUND_JOBS = yes. The 69-lvm-metad.rules file on amd64 has
RUN+="/sbin/lvm pvscan --background --cache --activate ay --major $major
--minor $minor", ENV{LVM_SCANNED}="1"
udev under systemd doesn't allow long running processes which background
to be started from udev rules, such processes are killed by udevd [4].
Not sure if that is happening here. But fixing [2] and making sure
pvscan is run via /bin/systemd-run look like should be done in any case.
Michael
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=774082
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783182
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783120
[4] http://www.freedesktop.org/software/systemd/man/udev.html#RUN{type}
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

