From: Harald Hoyer Date: Tue, 8 Sep 2009 13:30:17 +0000 (+0200) Subject: mdraid: stop udev queue until mdraid assembled X-Git-Tag: 002~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f25c9697f89a5e4a211bde4e972b192e513275c5;p=thirdparty%2Fdracut.git mdraid: stop udev queue until mdraid assembled --- diff --git a/modules.d/90mdraid/mdcontainer_start.sh b/modules.d/90mdraid/mdcontainer_start.sh index 4cb282dcc..96c3eedae 100755 --- a/modules.d/90mdraid/mdcontainer_start.sh +++ b/modules.d/90mdraid/mdcontainer_start.sh @@ -2,5 +2,7 @@ . /lib/dracut-lib.sh md=$1 +udevadm control --stop-exec-queue # and activate any containers mdadm -IR $md 2>&1 | vinfo +udevadm control --start-exec-queue \ No newline at end of file diff --git a/modules.d/90mdraid/mdraid_start.sh b/modules.d/90mdraid/mdraid_start.sh index ee9362c0c..ab4598624 100755 --- a/modules.d/90mdraid/mdraid_start.sh +++ b/modules.d/90mdraid/mdraid_start.sh @@ -3,4 +3,6 @@ . /lib/dracut-lib.sh # run mdadm if udev has settled info "Assembling MD RAID arrays" +udevadm control --stop-exec-queue mdadm -IRs 2>&1 | vinfo +udevadm control --start-exec-queue