diff options
author | Xiao Ni <xni@redhat.com> | 2018-02-21 06:04:45 +0100 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2018-02-23 17:10:00 +0100 |
commit | 9c816fe2ad158b39695339f58ddc921c68453cb1 (patch) | |
tree | e7718868d3d4e37122ca313fa5d9bbbcdace5db3 /tests/00raid1 | |
parent | mdadm: prevent out-of-date reshaping devices from force assemble (diff) | |
download | mdadm-9c816fe2ad158b39695339f58ddc921c68453cb1.tar.xz mdadm-9c816fe2ad158b39695339f58ddc921c68453cb1.zip |
Add one sanity check for missing device
Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'tests/00raid1')
-rw-r--r-- | tests/00raid1 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/00raid1 b/tests/00raid1 index c93465d8..f6b8be19 100644 --- a/tests/00raid1 +++ b/tests/00raid1 @@ -3,6 +3,10 @@ # test version0, version1, and no super # test resync and recovery. +# It's just a sanity check. This command shouldn't run successfully +mdadm -CR $md0 -l 1 -n2 missing missing +check opposite_result + mdadm -CR $md0 -l 1 -n2 $dev0 $dev1 check resync check raid1 |