# dmraid -s *** Group superset isw_difcegd --> Active Subset name : isw_difcegd_raid01 size : 927985664 stride : 128 type : mirror status : ok subsets: 0 devs : 2 spares : 0
# dmraid -s | tr -d ' ' | awk -F":" 'BEGIN {r=0} /^status/ {if ($2=="ok") {r=1} } END {print r}' 1