From 5a53eda432605286d569c052b4986483f2c82cdf Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Mon, 22 Dec 2008 18:20:17 +0200 Subject: [PATCH] rc.sysinit: added a 1s delay after starting mdadm volumes and load dm-mod before `vgchange` --- initramfs/etc_rc.d_rc.sysinit.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/initramfs/etc_rc.d_rc.sysinit.sh b/initramfs/etc_rc.d_rc.sysinit.sh index 1c48e16..035e9e3 100644 --- a/initramfs/etc_rc.d_rc.sysinit.sh +++ b/initramfs/etc_rc.d_rc.sysinit.sh @@ -110,6 +110,7 @@ fi if [ -s /etc/mdadm.conf ]; then title "Starting RAID volumes" check mdadm -As + sleep 1 status fi @@ -121,6 +122,7 @@ fi if [ -n "$(ls -1 /etc/lvm/archive/*.vg 2> /dev/null)" ]; then title "Starting LVM volumes" + modprobe dm-mod check vgchange -ay status fi