2017-11-25 11:44:30 +00:00
|
|
|
# smartctl
|
|
|
|
|
2017-11-26 05:18:09 +00:00
|
|
|
> View a disk's SMART data and other information.
|
2019-04-12 23:24:54 +01:00
|
|
|
> More information: <https://en.wikipedia.org/wiki/S.M.A.R.T.>.
|
2017-11-25 11:44:30 +00:00
|
|
|
|
|
|
|
- View SMART health summary:
|
|
|
|
|
2017-11-26 05:18:09 +00:00
|
|
|
`sudo smartctl --health {{/dev/sda}}`
|
2017-11-25 11:44:30 +00:00
|
|
|
|
|
|
|
- View device information:
|
|
|
|
|
2017-11-26 05:18:09 +00:00
|
|
|
`sudo smartctl --info {{/dev/sda}}`
|
2017-11-25 11:44:30 +00:00
|
|
|
|
2017-11-26 05:18:09 +00:00
|
|
|
- Begin a short self-test:
|
2017-11-25 11:44:30 +00:00
|
|
|
|
2017-11-26 05:18:09 +00:00
|
|
|
`sudo smartctl --test short {{/dev/sda}}`
|
2017-11-25 11:44:30 +00:00
|
|
|
|
|
|
|
- View current/last self-test status and other SMART capabilities:
|
|
|
|
|
2017-11-26 05:18:09 +00:00
|
|
|
`sudo smartctl --capabilities {{/dev/sda}}`
|
2017-11-25 11:44:30 +00:00
|
|
|
|
|
|
|
- View SMART self-test log (if supported):
|
|
|
|
|
2017-11-26 05:18:09 +00:00
|
|
|
`sudo smartctl --log selftest {{/dev/sda}}`
|