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