S.M.A.R.T.: Difference between revisions

From David's Wiki
No edit summary
Line 16: Line 16:
* <code>0bc2</code> is the manufacturer id for Seagate drives.
* <code>0bc2</code> is the manufacturer id for Seagate drives.


===<code>/etc/smartd.conf</code>===
===Remote monitoring===
See [https://linuxconfig.org/how-to-configure-smartd-and-be-notified-of-hard-disk-problems-via-email#h3-using-msmtp-for-external-email-notifications Reference]
 
# Edit <code>/etc/smartd.conf</code>


==gsmartcontrol==
==gsmartcontrol==
gsmartcontrol is a GUI frontend for smartctl
gsmartcontrol is a GUI frontend for smartctl

Revision as of 19:16, 7 February 2021

SMART Testing

smartctl

USB Hard Drives

  • Add -d sat

For some seagate hard drives, it will run in uas mode and smart won't work.
See https://www.smartmontools.org/wiki/SAT-with-UAS-Linux.
To fix this, you can find your id by looking in /var/log/kern.log and filling in:

GRUB_CMDLINE_LINUX="usb_storage.quirks=0bc2:[id]:u"
  • Multiple hard drives should be comma separated:
    • E.g. 0bc2:abcd:u,0bc2:efgh:u
  • 0bc2 is the manufacturer id for Seagate drives.

Remote monitoring

See Reference

  1. Edit /etc/smartd.conf

gsmartcontrol

gsmartcontrol is a GUI frontend for smartctl