]> git.ipfire.org Git - thirdparty/mdadm.git/blob - tests/00raid4
Create a container member
[thirdparty/mdadm.git] / tests / 00raid4
1
2 # create a simple raid4 set
3
4 mdadm -CfR $md0 -l 4 -n3 $dev0 $dev1 $dev2
5 check resync ; check raid[45]
6 testdev $md0 2 $mdsize0 64
7 mdadm -S $md0
8
9 # now with version-1 superblock
10 mdadm -CR $md0 -e1 --level=raid4 -n4 $dev0 $dev1 $dev2 $dev3
11 check recovery; check raid[45]
12 testdev $md0 3 $mdsize1 64
13 mdadm -S $md0
14
15
16 exit 0