]>
Commit | Line | Data |
---|---|---|
947fd4dd NB |
1 | set -x |
2 | ||
3 | # create an array with a name | |
4 | ||
dab6685f NB |
5 | mdadm -CR $md0 -l0 -n2 --metadata=1 --name="Fred" $dev0 $dev1 |
6 | mdadm -E $dev0 | grep 'Name : Fred$' > /dev/null || exit 1 | |
7 | mdadm -D $md0 | grep 'Name : Fred$' > /dev/null || exit 1 | |
8 | mdadm -S $md0 | |
9 | ||
10 | mdadm -A $md0 --name="Fred" $devlist | |
11 | mdadm -Db $md0 | |
12 | mdadm -S $md0 | |
947fd4dd | 13 |