Add check_raid (with a little fix about resync status with mdstat). check_raid is an original work of S. Shipway