Smart: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 38: Line 38:
Try
Try
  smartctl --scan
  smartctl --scan




Line 67: Line 68:
 
 


==SSD specific==
== SSD specific ==
*[https://unix.stackexchange.com/questions/106678/how-to-check-the-life-left-in-ssd-or-the-mediums-wear-level  
 
=== 231 SSD_Life_Left===
*[[https://unix.stackexchange.com/questions/106678/how-to-check-the-life-left-in-ssd-or-the-mediums-wear-level https://unix.stackexchange.com/questions/106678/how-to-check-the-life-left-in-ssd-or-the-mediums-wear-level]
 
=== 231 SSD_Life_Left ===
 
  Percentage of life left
  Percentage of life left


 


===241 Lifetime_Writes_GiB ==
=== 241 Lifetime_Writes_GiB ===
Amount of data written so far

Revision as of 12:56, 2 January 2021

Disk monitoring

Links

Tools

  • smartctl
  • gsmartcontrol


Useful commands

enable smart

smartctl -i /dev/sda

check smart status

smartctl -a /dev/sda

 

check error log

smartctl -l error /dev/sdb
      

Device: /dev/bus/0 [megaraid_disk_09] [SAT]

Try

smartctl --scan



Some codes and messages

LBA_of_first_error

 

Device is: Not in smartctl database [for details use: -P showall]

Try

/usr/sbin/update-smart-drivedb

otherwise check out https://www.smartmontools.org/wiki/FAQ#MyATASATAdriveisnotinthesmartctlsmartddatabase

Uncorrectable Sector Count

Check https://medium.com/@satyeshukumar/how-to-fix-uncorrectable-sector-count-warning-5a38c56d3faf

198 Offline Uncorrectable

bad sign, on ssd mostly/only when number gets high

 

SSD specific

231 SSD_Life_Left

Percentage of life left

 

241 Lifetime_Writes_GiB

Amount of data written so far