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