]> git.ipfire.org Git - thirdparty/mdadm.git/blob - tests/00linear
Fix remaining problems with hot-add bitmap to version-1 superblock
[thirdparty/mdadm.git] / tests / 00linear
1
2 # create a simple linear
3
4 mdadm -CR $md0 -l linear -n3 $dev0 $dev1 $dev2
5 check linear
6 testdev $md0 3 $mdsize0 64
7 mdadm -S $md0
8
9 # now with version-1 superblock
10 mdadm -CR $md0 -e1 --level=linear -n4 $dev0 $dev1 $dev2 $dev3
11 check linear
12 testdev $md0 4 $mdsize1 64
13 mdadm -S $md0
14
15 # now with no superblock
16 mdadm -B $md0 -l linear -n5 $dev0 $dev1 $dev2 $dev3 $dev4
17 check linear
18 testdev $md0 5 $size 64
19 mdadm -S $md0
20