diff --git a/modules.d/90mdraid/mdcontainer_start.sh b/modules.d/90mdraid/mdcontainer_start.sh index 4cb282dc..96c3eeda 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 ee9362c0..ab459862 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