|
Harald Hoyer |
55891e |
From 77a57d5eafc3e46d01b196312d5dd4f28e0e8010 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
55891e |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
55891e |
Date: Tue, 4 Oct 2011 13:03:45 +0200
|
|
Harald Hoyer |
55891e |
Subject: [PATCH] order mdadm and lvm timeout operations
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
---
|
|
Harald Hoyer |
55891e |
modules.d/90lvm/64-lvm.rules | 2 +-
|
|
Harald Hoyer |
55891e |
modules.d/90mdraid/65-md-incremental-imsm.rules | 2 +-
|
|
Harald Hoyer |
55891e |
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
diff --git a/modules.d/90lvm/64-lvm.rules b/modules.d/90lvm/64-lvm.rules
|
|
Harald Hoyer |
55891e |
index 487d08a..ab827a9 100644
|
|
Harald Hoyer |
55891e |
--- a/modules.d/90lvm/64-lvm.rules
|
|
Harald Hoyer |
55891e |
+++ b/modules.d/90lvm/64-lvm.rules
|
|
Harald Hoyer |
55891e |
@@ -13,7 +13,7 @@ PROGRAM=="/bin/sh -c 'for i in $sys/$devpath/holders/dm-[0-9]*; do [ -e $$i ] &&
|
|
Harald Hoyer |
55891e |
GOTO="lvm_end"
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
RUN+="/sbin/initqueue --settled --onetime --unique /sbin/lvm_scan"
|
|
Harald Hoyer |
55891e |
-RUN+="/sbin/initqueue --timeout --onetime --unique /sbin/lvm_scan --partial"
|
|
Harald Hoyer |
55891e |
+RUN+="/sbin/initqueue --timeout --name 51-lvm_scan --onetime --unique /sbin/lvm_scan --partial"
|
|
Harald Hoyer |
55891e |
RUN+="/bin/sh -c '>/tmp/.lvm_scan-%k;'"
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
LABEL="lvm_end"
|
|
Harald Hoyer |
55891e |
diff --git a/modules.d/90mdraid/65-md-incremental-imsm.rules b/modules.d/90mdraid/65-md-incremental-imsm.rules
|
|
Harald Hoyer |
55891e |
index 2a80700..139a599 100644
|
|
Harald Hoyer |
55891e |
--- a/modules.d/90mdraid/65-md-incremental-imsm.rules
|
|
Harald Hoyer |
55891e |
+++ b/modules.d/90mdraid/65-md-incremental-imsm.rules
|
|
Harald Hoyer |
55891e |
@@ -27,7 +27,7 @@ PROGRAM="/bin/sh -c 'for i in $sys/$devpath/holders/md[0-9_]*; do [ -e $$i ] &&
|
|
Harald Hoyer |
55891e |
ENV{DEVTYPE}!="partition", \
|
|
Harald Hoyer |
55891e |
RUN+="/sbin/partx -d --nr 1-1024 $env{DEVNAME}"
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
-RUN+="/sbin/initqueue --timeout --onetime --unique /sbin/mdraid_start"
|
|
Harald Hoyer |
55891e |
+RUN+="/sbin/initqueue --timeout --name 50-mdraid_start --onetime --unique /sbin/mdraid_start"
|
|
Harald Hoyer |
55891e |
|
|
Harald Hoyer |
55891e |
# if rd_MDADMCONF is set, do not assemble incrementally;
|
|
Harald Hoyer |
55891e |
# defer conf-based assembly until the udev queue is settled
|