]> git.ipfire.org Git - thirdparty/mdadm.git/blame - tests/06wrmostly
Add 'quite' option and tidy up some tests.
[thirdparty/mdadm.git] / tests / 06wrmostly
CommitLineData
dfd4d8ee
NB
1set -e
2
3# create a raid1 array with a wrmostly device
4
dab6685f
NB
5mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
6testdev $md0 1 $mdsize0 64
dfd4d8ee
NB
7
8# unfortunately, we cannot measure if any read requests are going to $dev2
9
dab6685f 10mdadm -S $md0
dfd4d8ee 11
dab6685f
NB
12mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2
13testdev $md0 1 $mdsize0 64
14mdadm -S $md0
dfd4d8ee 15