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