blob: 7a50131f79ba83280c83ade74b9ac005c57ac8ef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
set -i
# create a raid1 array, let it sync, then re-assemble with a force-sync
mdadm -CR $md0 -l1 -n2 $dev0 $dev1
check wait
mdadm -S $md0
mdadm -A $md0 $dev0 $dev1
check nosync
mdadm -S $md0
mdadm -A $md0 -U resync $dev0 $dev1
check resync
mdadm -S $md0
|