]>
Commit | Line | Data |
---|---|---|
dfd4d8ee NB |
1 | |
2 | # create a raid1 array with a wrmostly device | |
3 | ||
dab6685f | 4 | mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2 |
ae6c05ad | 5 | testdev $md0 1 $mdsize1a 64 |
dfd4d8ee NB |
6 | |
7 | # unfortunately, we cannot measure if any read requests are going to $dev2 | |
8 | ||
dab6685f | 9 | mdadm -S $md0 |
dfd4d8ee | 10 | |
b8ab2a50 | 11 | mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal --bitmap-chunk=4 $dev0 $dev1 --write-mostly $dev2 |
ae6c05ad | 12 | testdev $md0 1 $mdsize1a 64 |
dab6685f | 13 | mdadm -S $md0 |