Don't need to check recovery after re-add when no I/O writes to raid
If there is no write I/O between removing member disk and re-add it, there is no recovery after re-adding member disk. Signed-off-by: Xiao Ni <xni@redhat.com> Signed-off-by: Jes Sorensen <jsorensen@fb.com>
This commit is contained in:
parent
8063fd0f9e
commit
6110931485
|
@ -9,8 +9,6 @@ check all state UU
|
||||||
check all dmesg
|
check all dmesg
|
||||||
mdadm --manage $md0 --fail $dev0 --remove $dev0
|
mdadm --manage $md0 --fail $dev0 --remove $dev0
|
||||||
mdadm --manage $md0 --re-add $dev0
|
mdadm --manage $md0 --re-add $dev0
|
||||||
check $NODE1 recovery
|
|
||||||
check all wait
|
|
||||||
check all state UU
|
check all state UU
|
||||||
check all dmesg
|
check all dmesg
|
||||||
stop_md all $md0
|
stop_md all $md0
|
||||||
|
|
Loading…
Reference in New Issue