kuzushi 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/kuzushi.rb +6 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.7
|
data/lib/kuzushi.rb
CHANGED
@@ -90,7 +90,12 @@ class Kuzushi
|
|
90
90
|
|
91
91
|
def process_raids(r)
|
92
92
|
task "assemble raid #{r.device}" do
|
93
|
-
|
93
|
+
begin
|
94
|
+
shell "mdadm --assemble #{r.device} #{r.drives.join(" ")}"
|
95
|
+
rescue Object => o
|
96
|
+
puts "error: #{o.message}"
|
97
|
+
retry
|
98
|
+
end
|
94
99
|
end
|
95
100
|
set_scheduler r
|
96
101
|
check_format r
|