]> git.ipfire.org Git - thirdparty/mdadm.git/blame - tests/00linear
Add test suite and release
[thirdparty/mdadm.git] / tests / 00linear
CommitLineData
5e7519fa
NB
1
2# create a simple linear
3set -ex
4
5$mdadm -CR $md0 -l linear -n3 $dev0 $dev1 $dev2
6$check linear
7sh tests/testdev $md0 3 $mdsize0 64
8$mdadm -S $md0
9
10# now with verion-1 superblock
11$mdadm -CR $md0 -e1 --level=linear -n4 $dev0 $dev1 $dev2 $dev3
12$check linear
13sh tests/testdev $md0 4 $mdsize1 64
14$mdadm -S $md0
15
16# now with no superblock
17$mdadm -B $md0 -l linear -n5 $dev0 $dev1 $dev2 $dev3 $dev4
18$check linear
19sh tests/testdev $md0 5 $size 64
20$mdadm -S $md0
21
22exit 0