The health of hard drive can be checked in linux using the command :

smartctl -H /dev/sda