# Create a 5 disk raid6, dump some data to it, then
# sha1sum it with different pairs of devices failed
+if [ "$INTEGRITY" != "yes" ]; then
+ echo -ne 'skipping... '
+ exit 0
+fi
+
layouts='ls rs la ra'
lv=`uname -r`
if expr $lv '>=' 2.6.30 > /dev/null
exit 1
fi
mdadm $md0 -a $first
- check wait
+ while ! (check state 'U*_U*'); do check wait; sleep 0.2; done
done
mdadm $md0 -a $second
- check wait
+ while ! (check state 'U*'); do check wait; sleep 0.2; done
totest="$totest $second"
done
mdadm -S $md0
done
-