]> git.ipfire.org Git - thirdparty/mdadm.git/commit
clustermd_tests: add test case to test manage_add-spare against cluster-raid1
authorZhilong Liu <zlliu@suse.com>
Fri, 2 Feb 2018 06:10:56 +0000 (14:10 +0800)
committerJes Sorensen <jsorensen@fb.com>
Thu, 8 Mar 2018 19:38:03 +0000 (14:38 -0500)
commitbb76bc6825a3029ccf9d9dedb82b7661b565e1c4
tree8fe494473f98b61fcc729a7aa6b2e636456fecef
parent1070b7f867dcefe54b7f7de7c9de9a3780abe1bd
clustermd_tests: add test case to test manage_add-spare against cluster-raid1

02r1_Manage_add-spare: it has 2 scenarios against manage_add-spare.
1. 2 active disks in md array, using add-spare to add spare disk.
2. 2 active disks and 1 spare in array, add-spare 1 new disk into array,
   then check spares.

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