Now that I am using white-space mode in Emacs I can see all of this, and I don't like it :-) Signed-off-by: NeilBrown <neilb@suse.de>
13 lines
312 B
Plaintext
13 lines
312 B
Plaintext
set -x
|
|
|
|
# create an array with a name
|
|
|
|
mdadm -CR $md0 -l0 -n2 --metadata=1 --name="Fred" $dev0 $dev1
|
|
mdadm -E $dev0 | grep 'Name : [^:]*:Fred ' > /dev/null || exit 1
|
|
mdadm -D $md0 | grep 'Name : [^:]*:Fred ' > /dev/null || exit 1
|
|
mdadm -S $md0
|
|
|
|
mdadm -A $md0 --name="Fred" $devlist
|
|
#mdadm -Db $md0
|
|
mdadm -S $md0
|