How can I check the health of my hard drive?
For the desktop, you can use "Disk Utility" (aka palimpsest
or gnome-disks
depending on the Ubuntu release) for this.
For the command line I suggest you install the smartmontools
package and play around with smartctl
. Eg:
sudo smartctl --all /dev/sda
You can also use gsmartcontrol
, a GUI for smartctl
.