SSD Health on Linux – How Often Do You Check Yours?
I've been using Linux more recently and it got me thinking about something that's easy to forget about until a drive starts causing problems — SSD health.
Linux can read a surprising amount of information about a drive using SMART.
For example, you can identify your drives with:
lsblk
and, with smartmontools installed, check a drive using:
sudo smartctl -a /dev/sda
For an NVMe SSD it might instead be:
sudo smartctl -a /dev/nvme0
This can show things such as drive temperature, power-on hours, errors, percentage used and other health information.
Obviously SMART can't guarantee that a drive won't suddenly fail, so it's no replacement for having a backup.
But I'm curious how many people actually keep an eye on it.
Do you periodically check the health of your SSDs and hard drives, or only investigate when something starts behaving strangely?
Also, has SMART ever warned you about a failing drive early enough to save your data?
Be interested to hear what tools everyone uses on Linux, Windows or macOS for keeping an eye on drive health.