Originally published at: https://www.cyberciti.biz/tips/linux-find-out-if-harddisk-failing.html
I/O errors in /var/log/messages indicate that something is wrong with the hard disk and it may be failing. You can check the hard drive for errors using the smartctl command, which is control and monitor utility for SMART disks under Linux / UNIX like operating systems.