]> git.ipfire.org Git - thirdparty/mdadm.git/blame - tests/10ddf-sudden-degraded
mdadm: improve the dlm locking mechanism for clustered raid
[thirdparty/mdadm.git] / tests / 10ddf-sudden-degraded
CommitLineData
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
7mdadm -CR $container -e ddf -n 2 $dev8 $dev9
8ddf_check container 2
9
10mdadm -CR $member1 -n 2 -l1 $dev8 $dev9
3c899cab 11mdadm --wait $member1 || true
fdcd157a
N
12mdadm -Ss
13
14mdadm -I $dev8
15mdadm -R $container
16mkfs $member1
303a2635
N
17# There must be a missing device recorded
18mdadm --examine $dev8 | grep 'Raid Devices.*--' || exit 1