Re:SSD will fail at 40k power-on hours (2021)
by wutbrodo on Sunday July 10, 2022 @07:10PM
(#32050160)
Just FYI for anyone for whom this didn't work by default: I needed to use the --all flag with smartctl (and install smartmontools if you don't have it).
[ Parent
| on HN ]
Re:SSD will fail at 40k power-on hours (2021)
by lucb1e on Sunday July 10, 2022 @07:18PM
(#32050218)
The -a flag from my example should be an alias for --all (man smartctl | grep -A1 ' -a' | head -2). Is that not the case in your version?
Re:SSD will fail at 40k power-on hours (2021)
by climb_stealth on Monday July 11, 2022 @06:27AM
(#32054332)
Pro tip: when writing out commands for people to read it helps to use the long form arguments. In this case passing '--all' instead of '-a' to smartctl. It makes it easier to read and more clear what specific options do. Same with calling things in scripts. Short form is for quick and dirty typing things, but not great for reading or comprehension :)