Smart: Difference between revisions

From DWIKI
mNo edit summary
mNo edit summary
Line 16: Line 16:
*smartctl  
*smartctl  
*gsmartcontrol  
*gsmartcontrol  




Line 33: Line 34:


  smartctl -l error /dev/sdb
  smartctl -l error /dev/sdb
     
== Device: /dev/bus/0 [megaraid_disk_09] [SAT] ==
Try
smartctl --scan


= Some codes and messages =
= Some codes and messages =

Revision as of 11:44, 28 December 2020

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