Since a few days ago, my computer freezes whenever I sync my HDD with an external USB3 drive. When the keyboard gets temporarily a bit responsive I am able to switch to another terminal (Ctrl+Alt+F2) and I see the following image repeating continuously. I am on Ubuntu 11 using LuckyBackup.
What is going on? Is my hdd defective? Is it the external one? Something else?
Many thanks!
You need to check and see if your disks are indeed failing. There are command line tools for monitoring SMART data (which is data that the hd reports about it's own health).
Gsmartcontrol is a gui version of the same tool, and is very easy to use. Select the disk and run a short or long test in addition to viewing any errors the hd is reporting.
To run via the the command line, do the following
Make sure SMART is turned on. If not,
Finally, run
or if it's a serial ata drive.
See this link for more info about smartmontools. http://sourceforge.net/apps/trac/smartmontools/wiki/TocDoc
Your HDD definitely looks like its reaching (EOL), End of Life. To elaborate on Javier's comment, I would suggest using an Ubuntu Live CD as opposed to the Disk Utility within your current Ubuntu instance, (for the obvious reason that when you plug in your external HDD the OS becomes unusable), and run the following command from the command line to check for disk errors:
Where sdX is the mount point of your external HDD. The external HDD should be plugged in but not mounted, you can unmount the disk using the Disk Utility, and as Javier pointed out you can also use the Disk Utility to check the SMART status of the HDD if it is SMART capable/ enabled.
Again, do all of this from within the Ubuntu LiveCD. While you are at it, check for errors/ health of your primary HDD.