Articles in this section

SMART Tool Installation and Checking on Debian Stretch

On Debian Stretch, there is a tool to check SMART Hard disk status : Smartmontools

https://www.smartmontools.org/

Please find here process to install it and check SMART HDD status

1) Go in System > Administration > Synaptic Package Manager :

2020-02-24_14_51_50-Window.jpg

Your Root password will be prompted. Default one is caldera

 ) Go in Settings > Repositories :

2020-02-24_14_52_06-Window.jpg

3) You will need at least default packages :

URL http://deb.debian.org/debian with stretch Distribution (resp Jessie for Debian 8.x jessie Linux) and main Section

URL http://security.debian.org/debian-security with stretch/updates Distribution (resp jessie/updates for Debian 8.x Jessie Linux) and main Section

2020-02-24_14_52_25-Window.jpg

4) If repositories have changed, system will prompt to you to reload them :

2020-02-24_14_52_34-Window.jpg

5) Then in Search > type Smartmontools :

2020-02-24_15_20_07-Window.jpg

6) Smartmontools should appear then in found softwares list; right-click on it and Mark for Installation

2020-02-24_15_20_17-Window.jpg

7) Click on Mark :

2020-02-24_15_20_22-Window.jpg

8) Then Apply :

2020-02-24_14_53_19-Window.jpg

9) Smartmontools will then appear as installed : box is green

2020-02-24_15_21_57-Window.jpg

10) You will need to know what is your HDD name on Linux. Open System > Administration > GParted

2020-02-24_15_26_40-Window.jpg

Your Root password will be prompted. Default one is caldera

11) Here for example on this PC there is only one HDD named sda :

Capture_d_e_cran_16.jpg

12) Go int Terminal

13) Get Root permission typing sudo -s

14) Password should be caldera by default

15) type smartctl -i /dev/sda (replace sda by default, replace by your HDD name if applicable)

Last lines will show if SMART is enabled or not. Here it is.

 Capture_d_e_cran_17.jpg

16) In order to get more complete info, type smartctl -a /dev/sda (sda by default, replace by your HDD name if applicable)

Key points are :

Power on hours, that gives a quite good overview of HDD age. Some could break around 10000h whereas average MTBF is around 30000h

Start Stop Count : how many times HDD has started with system

Reallocated Sector Ct : few are ok and common, but more hundred is a pre-fail clue.

Current Pending Sector : Clear bad information : a sector is not writable; system might fail or freeze

.

 

Was this article helpful?
0 out of 0 found this helpful