]>
Commit | Line | Data |
---|---|---|
5e7519fa NB |
1 | set -i |
2 | ||
3 | # create a raid1 array, let it sync, then re-assemble with a force-sync | |
4 | ||
dab6685f NB |
5 | mdadm -CR $md0 -l1 -n2 $dev0 $dev1 |
6 | check wait | |
7 | mdadm -S $md0 | |
5e7519fa | 8 | |
dab6685f NB |
9 | mdadm -A $md0 $dev0 $dev1 |
10 | check nosync | |
11 | mdadm -S $md0 | |
5e7519fa | 12 | |
dab6685f NB |
13 | mdadm -A $md0 -U resync $dev0 $dev1 |
14 | check resync | |
15 | mdadm -S $md0 |