mdraid: stop udev queue until mdraid assembled

master
Harald Hoyer 2009-09-08 15:30:17 +02:00
parent 7e282f5df1
commit f25c9697f8
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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