[dm-devel] [PATCH 2/8] load the dm-multipath module on multipathd startup

Benjamin Marzinski bmarzins at redhat.com
Fri Jun 28 23:26:15 UTC 2013


This makes systemd modprobe dm-multipath before starting multipathd

Signed-off-by: Benjamin Marzinski <bmarzins at redhat.com>
---
 multipathd/multipathd.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service
index d6da067..b9f1210 100644
--- a/multipathd/multipathd.service
+++ b/multipathd/multipathd.service
@@ -8,6 +8,7 @@ Conflicts=shutdown.target
 [Service]
 Type=forking
 PIDFile=/var/run/multipathd.pid
+ExecStartPre=/sbin/modprobe dm-multipath
 ExecStart=/sbin/multipathd
 ExecReload=/sbin/multipathd reconfigure
 #ExecStop=/path/to/scrip delete-me if not necessary
-- 
1.8.2




More information about the dm-devel mailing list