hddtemp is a small utility (daemonizable) that gives you the temperature of your hard drive by reading S.M.A.R.T. informations.
Install it with your package manager base on your OS. here i’m mention on ubuntu
$sudo apt-get install hddtemp
run it as first command then the hdd list.Below here i use two hdd SDA,SDB
$hddtemp /dev/sda /dev/sdb