#!/bin/bash

if (cat /proc/mdstat |grep blocks |grep -e "\[.*_.*\]" >/dev/null); then
	echo "FAILED"
	exit 2
else
	echo "OK"
	exit 0
fi
