]> git.ipfire.org Git - thirdparty/mdadm.git/commit
clustermd_tests: add test case to test manage_add against cluster-raid10
authorZhilong Liu <zlliu@suse.com>
Fri, 2 Feb 2018 06:10:55 +0000 (14:10 +0800)
committerJes Sorensen <jsorensen@fb.com>
Thu, 8 Mar 2018 19:37:10 +0000 (14:37 -0500)
commit1070b7f867dcefe54b7f7de7c9de9a3780abe1bd
treef5c8dfd4e88c330fa452075ebcbce7c97ddb150d
parentdb76b9b156eb566590e81def3e7ad0acbae5364a
clustermd_tests: add test case to test manage_add against cluster-raid10

02r10_Manage_add: it covers testing 2 scenarios against manage_add.
1. 2 active disks in md array, set 1 disk 'fail' and 'remove' it
   from array, then add 1 pure disk into array.
2. 2 active disks in array, add 1 new disk into array directly, now
   the 'add' in equal to 'add-spare'.

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