Also start the timeout scripts after 2/3 of the time.
force loading kernel module <drivername> after all automatic loading modules
have been loaded. This parameter can be specified multiple times.
+**rd.retry=**_<seconds>_::
+ specify how long dracut should wait for devices to appear.
+ The default is 30 seconds. After 2/3 of the time, degraded raids are force
+ started and the timer is reset to 0. If you have hardware, which takes a very long
+ time to announce its drives, you might want to extend this value.
+
[[dracutkerneldebug]]
Debug
~~~~~
getarg 'rd.break=initqueue' -d 'rdbreak=initqueue' && emergency_shell -n initqueue "Break before initqueue"
RDRETRY=$(getarg rd.retry -d 'rd_retry=')
-RDRETRY=${RDRETRY:-20}
+RDRETRY=${RDRETRY:-30}
RDRETRY=$(($RDRETRY*2))
export RDRETRY
sleep 0.5
- if [ $main_loop -gt $(($RDRETRY/2)) ]; then
+ if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then
for job in $hookdir/initqueue/timeout/*.sh; do
[ -e "$job" ] || break
job=$job . $job
getarg 'rd.break=initqueue' -d 'rdbreak=initqueue' && emergency_shell -n initqueue "Break before initqueue"
RDRETRY=$(getarg rd.retry -d 'rd_retry=')
-RDRETRY=${RDRETRY:-20}
+RDRETRY=${RDRETRY:-30}
RDRETRY=$(($RDRETRY*2))
export RDRETRY
main_loop=0
sleep 0.5
- if [ $main_loop -gt $(($RDRETRY/2)) ]; then
+ if [ $main_loop -gt $((2*$RDRETRY/3)) ]; then
for job in $hookdir/initqueue/timeout/*.sh; do
[ -e "$job" ] || break
job=$job . $job