Remove "check inactive", the result of /proc/mdstat is "active (read-only)", Can not add $dev4 to a read only filesystem, so do "mdadm -I $dev4" first. Signed-off-by: Chen Rong <rongx.a.chen@xxxxxxxxx> --- tests/20raid5journal | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/20raid5journal b/tests/20raid5journal index f751ace..fee6c0c 100644 --- a/tests/20raid5journal +++ b/tests/20raid5journal @@ -40,12 +40,11 @@ test_assemble() { # test --incremental test_incremental() { create_with_journal_and_stop + mdadm -I $dev4 for d in $dev0 $dev1 $dev2 $dev3 do mdadm -I $d done - check inactive - mdadm -I $dev4 check raid5 mdadm -S $md0 -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html