]>
Commit | Line | Data |
---|---|---|
fdcd157a N |
1 | # |
2 | # An array is assembled with one device missing. | |
3 | # The other device must be marked as Failed in metadata | |
4 | ||
5 | . tests/env-ddf-template | |
6 | ||
7 | mdadm -CR $container -e ddf -n 2 $dev8 $dev9 | |
8 | ddf_check container 2 | |
9 | ||
10 | mdadm -CR $member1 -n 2 -l1 $dev8 $dev9 | |
3c899cab | 11 | mdadm --wait $member1 || true |
fdcd157a N |
12 | mdadm -Ss |
13 | ||
14 | mdadm -I $dev8 | |
15 | mdadm -R $container | |
16 | mkfs $member1 | |
303a2635 N |
17 | # There must be a missing device recorded |
18 | mdadm --examine $dev8 | grep 'Raid Devices.*--' || exit 1 |