]> git.ipfire.org Git - thirdparty/mdadm.git/commit
clustermd_tests: add test case to test switch-recovery against cluster-raid1
authorZhilong Liu <zlliu@suse.com>
Fri, 2 Feb 2018 06:11:02 +0000 (14:11 +0800)
committerJes Sorensen <jsorensen@fb.com>
Thu, 8 Mar 2018 19:40:17 +0000 (14:40 -0500)
commit305a051bdf04b7c24557021965f30da6be5b97b3
tree38395b6cfa3c2a31c758032551359e89f8e64ba9
parent2ec2fb76ad7b4b16657721559c9ff7d2a408dd0f
clustermd_tests: add test case to test switch-recovery against cluster-raid1

03r1_switch-recovery:
Create new array with 2 active and 1 spare disk, set 1 active disk as 'fail',
it triggers recovery and the spare disk would replace the failure disk, then
stop the array in doing recovery node, the other node would take it over and
continue to complete the recovery.

Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
clustermd_tests/03r1_switch-recovery [new file with mode: 0644]