]> git.ipfire.org Git - thirdparty/mdadm.git/blame - tests/03r5assem-failed
imsm: Set disk slot number
[thirdparty/mdadm.git] / tests / 03r5assem-failed
CommitLineData
06f3dae9
N
1
2# Create an array, fail one device while array is active, stop array,
3# then re-assemble listing the failed device first.
4
5mdadm -CR $md1 -l5 -n4 $dev0 $dev1 $dev2 $dev3
6check wait
7
8echo 2000 > /sys/block/md1/md/safe_mode_delay
9mkfs $md1
10mdadm $md1 -f $dev0
11mdadm -S $md1
12mdadm -A $md1 $dev0 $dev1 $dev2 $dev3 || exit 1