]> git.ipfire.org Git - thirdparty/mdadm.git/blame - clustermd_tests/03r10_switch-resync
Assemble: print error message if mdadm fails assembling with --uuid option
[thirdparty/mdadm.git] / clustermd_tests / 03r10_switch-resync
CommitLineData
2ec2fb76
ZL
1#!/bin/bash
2
3mdadm -CR $md0 -l10 -b clustered --layout n2 -n2 $dev0 $dev1
4ssh $NODE2 mdadm -A $md0 $dev0 $dev1
5check $NODE1 resync
6check $NODE2 PENDING
7stop_md $NODE1 $md0
8check $NODE2 resync
9check $NODE2 wait
10mdadm -A $md0 $dev0 $dev1
11check all raid10
12check all bitmap
13check all nosync
14check all state UU
15check all dmesg
16stop_md all $md0
17
18exit 0