1 files changed, 0 insertions, 4 deletions
|
diff --git a/mkraid b/mkraid index b2fe60b..26ce7be 100755 --- a/ mkraid+++ b/ mkraid |
@@ -42,10 +42,6 @@ done |
42 | numdevs=$(echo $devices | tr ' ' '\n' | wc -l) |
42 | numdevs=$(echo $devices | tr ' ' '\n' | wc -l) |
43 | numspare=$(echo $spares | tr ' ' '\n' | wc -l) |
43 | numspare=$(echo $spares | tr ' ' '\n' | wc -l) |
44 | |
44 | |
45 | echo "mdadm --create /dev/md$id --level=$level --raid-devices=$numdevs $devices --spare-devices=$numspare $spares" |
| |
46 | |
| |
47 | exit |
| |
48 | |
| |
49 | mdadm --create /dev/md$id --level=$level --raid-devices=$numdevs $devices --spare-devices=$numspare $spares |
45 | mdadm --create /dev/md$id --level=$level --raid-devices=$numdevs $devices --spare-devices=$numspare $spares |
50 | |
46 | |
51 | uuid="$(mdadm --detail /dev/md0 | grep UUID | tr -d '[:space:]' | cut -d ':' -f 2-)" |
47 | uuid="$(mdadm --detail /dev/md0 | grep UUID | tr -d '[:space:]' | cut -d ':' -f 2-)" |
|