aptitude install smartmontools
Check your IDE drive for SMART capabilities:
smartctl -i /dev/hda
Check your SATA drive wheter it has SMART enabled:
smartctl -i -d ata /dev/sda
Check health status of your drive:
smartctl -H -d ata /dev/sda