diff --git a/pages/common/smartctl.md b/pages/common/smartctl.md new file mode 100644 index 000000000..58e672dd3 --- /dev/null +++ b/pages/common/smartctl.md @@ -0,0 +1,24 @@ +# smartctl + +> View a disk's SMART data and other information. +> See https://en.wikipedia.org/wiki/S.M.A.R.T for more information. + +- View SMART health summary: + +`sudo smartctl --health {{/dev/sda}}` + +- View device information: + +`sudo smartctl --info {{/dev/sda}}` + +- Begin a short self-test: + +`sudo smartctl --test short {{/dev/sda}}` + +- View current/last self-test status and other SMART capabilities: + +`sudo smartctl --capabilities {{/dev/sda}}` + +- View SMART self-test log (if supported): + +`sudo smartctl --log selftest {{/dev/sda}}`