Check HDD life in Linux

Hard disk failures are imminent and it’s only a matter of time when the they start deteriorating and one bad day it’s dead forever. Oops, did you take a backup? While the failure rate can be reduced by choosing a good make and model, a traditional typical disk version do have a life span of 5 to 8 years. So, it’s a good idea to keep a track on its health status regularly so that you know when its death is nearing, and you can be prepared to swap the hard disk with replacement.

Typically, almost all hard disk manufacturers bundle a hard disk monitoring tool along with the hard disk. Unfortunately, the utility only runs in Microsoft Windows and Mac OS X operating systems. Moreover, popular third-party apps like Hard Disk Doctor, HDD Life too work on Windows platform and Mac OS X platforms. Linux users can use GSmartControl application. It is 100% free software and directly available from the Linux Mint’s Software Center as well as Ubuntu software center.

STEP 1: Click ‘Applications’ and launch ‘Software Manager’.

STEP 2: Look for ‘GSmartControl’ and install it.

STEP 3: Plug-in you external hard disk which you want to check. If you are checking the computer’s internal hard disk, then you can open the GSmartControl app directly.

STEP 4: Enter root password when prompted.

STEP 5: You should see all the hard disks connected to your computer including the internal hard disk drive.

STEP 6: Right-click on the hard disk icon which you want to check and select. In my case I want to check a 2TB WD Passport external hard disk drive.

READ  How to install Cinnamon desktop on Ubuntu
GSmartControl Perform Tests
GSmartControl Perform Tests

STEP 7: In the ‘Perform Tests’ tab, you can choose ‘Test type’. You can start with ‘Short Self-test’ and then proceed with longer ones if you want. Short test is good enough to show out problems in a seriously failing hard disk.

Check Hard Disk
Check Hard Disk

STEP 8: Click ‘Execute’. After the process is done, it will show summary of ‘Test result’. In my case it showed ‘Completed without error’.

Hard disk check report
Hard disk check report summary

You can click on ‘View Output’ to see full report.

Full Check REport
Full Check Report

Scroll down in the report to find S.M.A.R.T attributes. This is the data that says about your hard disk status. The ‘Raw_Read_Error_Rate’, ‘Reallocated_Sector_Count’, ‘Seek_Error_Rate’ are some important attributes to look for. Check the current value against the Threshold and the Worst value. If any of the attributes are coming close to the Worst values, it implies hard disk life is deteriorating.

S.M.A.R.T Attributes
S.M.A.R.T Attributes
Previous articleHow to install OpenShot Video Editor in Fedora (22 & above)
Next articleSolus MATE to get brand new menu named ‘Brisk Menu’
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

2
Leave a Reply

avatar
2 Comment threads
0 Thread replies
2 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
Loyalty chamrune overby Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
rune overby
Guest
rune overby

thanks for this and on https://www.fosslinux.com/939/how-to-check-and-monitor-hard-disk-life-in-linux-mint-and-ubuntu.htm
and on my disk- seen on intern; “disks” – (gnome-disk-utility 3.10.0) it says disk will probably fail soon,(23deg.C)- but it runs still and have done long,
SO how likely it is that the disk will actually crash? – and how is “IT” measured?

Loyalty cham
Guest
Loyalty cham

This is not safe. Linux mint automatically check your disk for errors during boot time.