]> git.ipfire.org Git - thirdparty/mdadm.git/blame - tests/00raid4
--wait or -W will wait for resync activity to finish on the given devices.
[thirdparty/mdadm.git] / tests / 00raid4
CommitLineData
5e7519fa
NB
1
2# create a simple raid4 set
5e7519fa 3
dab6685f 4mdadm -CfR $md0 -l 4 -n3 $dev0 $dev1 $dev2
561832f9 5check resync ; check raid[45]
dab6685f
NB
6testdev $md0 2 $mdsize0 64
7mdadm -S $md0
5e7519fa 8
f6d75de8 9# now with version-1 superblock
dab6685f 10mdadm -CR $md0 -e1 --level=raid4 -n4 $dev0 $dev1 $dev2 $dev3
561832f9 11check resync; check raid[45]
dab6685f
NB
12testdev $md0 3 $mdsize1 64
13mdadm -S $md0
5e7519fa
NB
14
15
16exit 0