Skip to content

Instantly share code, notes, and snippets.

@joepie91
Created April 13, 2019 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joepie91/70e2bdef2c15774bbc195e3e1d4b05fa to your computer and use it in GitHub Desktop.
Save joepie91/70e2bdef2c15774bbc195e3e1d4b05fa to your computer and use it in GitHub Desktop.
smartctl / smartmontools flag format decoding
PO--CK 0x0033 51 0 0 1 1 0 0 1 1
-O--CK 0x0032 50 0 0 1 1 0 0 1 0
----CK 0x0030 48 0 0 1 1 0 0 0 0
POSR-K 0x002f 47 0 0 1 0 1 1 1 1
-OSR-K 0x002e 46 0 0 1 0 1 1 1 0
POS--K 0x0027 39 0 0 1 0 0 1 1 1
-O---K 0x0022 34 0 0 1 0 0 0 1 0
---R-- 0x0008 8 0 0 0 0 1 0 0 0
K C R S O P
| | | | | |_ P prefailure warning
| | | | |__ O updated online
| | | |___ S speed/performance
| | |____ R error rate
| |_____ C event count
|______ K auto-keep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment