Re: PROBLEM: lvm gets stuck during booting due to recent uevent change

From: Milan Broz
Date: Thu Oct 27 2011 - 18:16:01 EST


On 10/27/2011 11:59 PM, Ari Savolainen wrote:
> At the same time udevd is executing "/sbin/lvm vgchange -a y" (from
> /lib/udev/rules.d/85-lvm2.rules) that calls ioctl to resume a logical
> volume. After that lvm gets stuck forever. Booting continues after the
> 61 second timeout.

If you call vgchange or even vgscan from udev rule, it is completely wrong.

This is not lvm upstream udev rule btw.

Milan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/