[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 3/4] Make sure we "insist" on mdadm commands. (491729)



---
 storage/devicelibs/mdraid.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/storage/devicelibs/mdraid.py b/storage/devicelibs/mdraid.py
index 6cbaa68..d079359 100644
--- a/storage/devicelibs/mdraid.py
+++ b/storage/devicelibs/mdraid.py
@@ -158,7 +158,8 @@ def mdactivate(device, members=[], super_minor=None, uuid=None):
         identifier = ""
 
     rc = iutil.execWithRedirect("mdadm",
-                                ["--assemble",
+                                ["--run",
+                                 "--assemble",
                                  device,
                                  identifier,
                                  "--auto=md",
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]