]> git.ipfire.org Git - thirdparty/mdadm.git/blob - tests/00names
mdadm: improve the dlm locking mechanism for clustered raid
[thirdparty/mdadm.git] / tests / 00names
1 set -x -e
2
3 # create arrays with non-numeric names
4 conf=$targetdir/mdadm.conf
5 echo "CREATE names=yes" > $conf
6
7 for i in linear raid0 raid1 raid4 raid5 raid6
8 do
9 mdadm -CR --config $conf /dev/md/$i -l $i -n 4 $dev4 $dev3 $dev2 $dev1
10 check $i
11 [ -d /sys/class/block/md_$i/md ]
12 mdadm -S md_$i
13 done