]> git.ipfire.org Git - thirdparty/mdadm.git/blame - tests/00names
imsm: set generation number when reading superblock
[thirdparty/mdadm.git] / tests / 00names
CommitLineData
97882bc8
N
1set -x -e
2
3# create arrays with non-numeric names
9ccfd3be
N
4conf=$targetdir/mdadm.conf
5echo "CREATE names=yes" > $conf
97882bc8
N
6
7for i in linear raid0 raid1 raid4 raid5 raid6
8do
9ccfd3be 9 mdadm -CR --config $conf /dev/md/$i -l $i -n 4 $dev4 $dev3 $dev2 $dev1
97882bc8
N
10 check $i
11 [ -d /sys/class/block/md_$i/md ]
12 mdadm -S md_$i
13done