blob: a4d730e8cc8150095267f9c123a0dc0b8619d27a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# create a raid1 array with a wrmostly device
mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
testdev $md0 1 $mdsize1 1
# unfortunately, we cannot measure if any read requests are going to $dev2
mdadm -S $md0
mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2
testdev $md0 1 $mdsize1 1
mdadm -S $md0
|