]> git.ipfire.org Git - thirdparty/mdadm.git/blame_incremental - tests/06wrmostly
allow --incremental to reuse devices that already exist
[thirdparty/mdadm.git] / tests / 06wrmostly
... / ...
CommitLineData
1
2# create a raid1 array with a wrmostly device
3
4mdadm -CR $md0 -l1 -n3 $dev0 $dev1 --write-mostly $dev2
5testdev $md0 1 $mdsize0 64
6
7# unfortunately, we cannot measure if any read requests are going to $dev2
8
9mdadm -S $md0
10
11mdadm -CR $md0 -l1 -n3 --write-behind --bitmap=internal $dev0 $dev1 --write-mostly $dev2
12testdev $md0 1 $mdsize0 64
13mdadm -S $md0
14