Skip to content

Commit

Permalink
mxmount: add --no-degraded to mdadm --assemble
Browse files Browse the repository at this point in the history
This assembles but does not start degraded arrays.
  • Loading branch information
thomas committed Sep 11, 2017
1 parent d658bf5 commit 23f7937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mxmount
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ foreach(@lines) {
#print Dumper \%D;

add_data0_if_not_present();
system("mdadm --assemble --scan --config=partition");
system("mdadm --assemble --scan --config=partition --no-degraded");
mount_all();
create_exports();

Expand Down

0 comments on commit 23f7937

Please sign in to comment.