summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmkraid4
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
42numdevs=$(echo $devices | tr ' ' '\n' | wc -l) 42numdevs=$(echo $devices | tr ' ' '\n' | wc -l)
43numspare=$(echo $spares | tr ' ' '\n' | wc -l) 43numspare=$(echo $spares | tr ' ' '\n' | wc -l)
44 44
45echo "mdadm --create /dev/md$id --level=$level --raid-devices=$numdevs $devices --spare-devices=$numspare $spares"
46
47exit
48
49mdadm --create /dev/md$id --level=$level --raid-devices=$numdevs $devices --spare-devices=$numspare $spares 45mdadm --create /dev/md$id --level=$level --raid-devices=$numdevs $devices --spare-devices=$numspare $spares
50 46
51uuid="$(mdadm --detail /dev/md0 | grep UUID | tr -d '[:space:]' | cut -d ':' -f 2-)" 47uuid="$(mdadm --detail /dev/md0 | grep UUID | tr -d '[:space:]' | cut -d ':' -f 2-)"