How to check and monitor hard disk life in Linux Mint and Ubuntu

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.

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

Kiran Kumar
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. I 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!

4 COMMENTS

  1. Vendor Specific SMART Attributes with Thresholds:
    ID# ATTRIBUTE_NAME FLAGS VALUE WORST THRESH FAIL RAW_VALUE
    1 Raw_Read_Error_Rate POSR-K 100 100 051 – 2159
    2 Throughput_Performance POS–K 055 055 000 – 6130
    3 Spin_Up_Time PO—K 091 090 025 – 2855
    4 Start_Stop_Count -O–CK 088 088 000 – 12950
    5 Reallocated_Sector_Ct PO–CK 252 252 010 – 0
    7 Seek_Error_Rate POSR-K 252 252 051 – 0
    8 Seek_Time_Performance P-S–K 252 252 015 – 0
    9 Power_On_Hours -O–CK 100 100 000 – 16890
    10 Spin_Retry_Count PO–CK 252 252 051 – 0
    11 Calibration_Retry_Count -O–CK 097 097 000 – 3864
    12 Power_Cycle_Count -O–CK 090 090 000 – 10470
    181 Program_Fail_Cnt_Total -O—K 100 100 000 – 17920057
    183 Runtime_Bad_Block -O–CK 252 252 010 – 0
    184 End-to-End_Error PO–CK 252 252 048 – 0
    186 Unknown_Attribute -O–CK 252 252 000 – 0
    187 Reported_Uncorrect -O–CK 100 100 000 – 66
    188 Command_Timeout -O–CK 252 252 000 – 0
    190 Airflow_Temperature_Cel -O—- 064 048 040 – 36 (Min/Max 3/52)
    191 G-Sense_Error_Rate -O—K 100 100 000 – 879
    192 Power-Off_Retract_Count -O—K 252 252 000 – 0
    193 Load_Cycle_Count -O–CK 078 078 000 – 228585
    194 Temperature_Celsius -O—- 064 048 000 – 36 (Min/Max 3/52)
    195 Hardware_ECC_Recovered -O-RCK 100 100 000 – 0
    196 Reallocated_Event_Count -O–CK 252 252 000 – 0
    197 Current_Pending_Sector -O–CK 252 100 000 – 0
    198 Offline_Uncorrectable —-CK 252 252 000 – 0
    199 UDMA_CRC_Error_Count -OS-CK 200 200 000 – 0
    200 Multi_Zone_Error_Rate -O-R-K 001 001 000 – 32805

    +++++++++++++++++++++++++++++++++++++

    I assume that this does not look right

LEAVE A REPLY

Please enter your comment!
Please enter your name here

STAY CONNECTED

23,277FansLike
385FollowersFollow
16SubscribersSubscribe

LATEST ARTICLES

MUST READ

Buyers who wish to go for a machine that is based on Linux often show interest in Chromebooks due to the form factor and extended battery life capabilities. Although ChromeOS power these machines, users can still miss out on a more genuine Linux experience. For those who happen to agree, the new Lemur Pro by System76 might get some heads turning.
Linux is growing faster than ever. As per the latest report, there is a drop in the Windows 10 market share for the first time, and Linux's market share has improved to 2.87% this month. Most of the features in the list were rolled out in the Pop OS 20.04. Let's a detailed look into the new features, how to upgrade, and a ride through video.

5 Best Music Players for Linux

For sure, there will be Linux users out there who cannot live without music. If you're one of those people, you would know how important it is to have a good music player installed on your computer system. In this article, we present to you the five Best Music Players for Linux, which will hopefully be able to satisfy each of our readers' needs.

10 Top Reasons to Switch to Manjaro Linux

Manjaro is Linux distro based on Arch-Linux which follows a rolling release model. Is this distro good for you? Let's find out the main reasons for using Manjaro.

Installing an updatable Manjaro Linux on a USB Flash Drive

In this tutorial, we will show step by step how to install a Manjaro on a USB flash. For those new to this distro, it is a light-weight distro that is based on Arch Linux. Arch Linux is known for its simplistic approach and is typically made for Linux pros, but Manjaro bridges the gap between user-friendliness and rock-solid performance.

What is the difference between Linux and Unix?

When discussing Linux and Unix with average users, it's not uncommon that they will sometimes mistakenly interchange the terms Linux and Unix.  The two are not the same.  Though they share similarities in their overall structures and toolkits, they are decidedly not the same.