summaryrefslogtreecommitdiff
path: root/mkraid
diff options
context:
space:
mode:
authorSam Chudnick <sam@chudnick.com>2022-05-30 21:38:44 -0400
committerSam Chudnick <sam@chudnick.com>2022-05-30 21:38:44 -0400
commit236fd8e9177d8ed497c0577db6eb6b1d5f6ab758 (patch)
treef83f5b9342e39622cf2bcd86b3893c157238f820 /mkraid
parent45568d6ee14ff5c517103042b398dba4b0b26669 (diff)
Removed debugging lines...HEADmaster
Diffstat (limited to 'mkraid')
-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-)"