]> git.ipfire.org Git - thirdparty/mdadm.git/blob - tests/04r1update
Add test suite and release
[thirdparty/mdadm.git] / tests / 04r1update
1 set -i
2
3 # create a raid1 array, let it sync, then re-assemble with a force-sync
4
5 $mdadm -CR $md0 -l1 -n2 $dev0 $dev1
6 $check wait
7 $mdadm -S $md0
8
9 $mdadm -A $md0 $dev0 $dev1
10 $check nosync
11 $mdadm -S $md0
12
13 $mdadm -A $md0 -U resync $dev0 $dev1
14 $check resync
15 $mdadm -S $md0