hddtemp
From lurkmore wiki
In Ubuntu
A CLI (command line interface) tool for measuring hard disk temperatures. It needs to either be run as root or with sudo privileges, or else be run as daemon. In addition to CLI output, it can also be monitored via Gnome Sensors Applet (accomplished by running daemon)