I wonder what tools are available and most commonly used, in Linux in general but openSUSE in particular, to check the health of a computer’s solid state drives.
I have no particular problems at all, just want to know what means are at hand if any to do a health check if the necessity arises.
You don’t agree but can’t state any facts. If you would have read your own article you would agree…
It really only checks checksums of data and tree blocks, it doesn’t ensure the content of tree blocks is valid and consistent.
btrfs scrub is not able to monitor hardware health.
If you disagree then explain how you use btrfs scrub to monitor your SSD/HDD health like:
temperatures (min/max/act)
lifetime power-on resets
power on time
power cycle count
number of write commands
number of read commands
total bad blocks
erase count
online/offline short/extented self-tests
error logs
life courve status
media wear out indicator
reserved block count
and many more…
Because above are informations provided by real hardware monitoring (health) tools like smartctl or skdump (and the various GUI apps for it like GSmartControl).
btrfs scrub checksums all blocks. Issues of the hardware below the file system will result in inconsistent checksums.
Several 100,000 power on hours of HDDs and SSDs in infamous host erlangen and its siblings have shown that hardware problems exist which are not detected by smartctl and others. The Swiss cheese model applies: Swiss cheese model - Wikipedia
btrfs users are advised to run btrfs scrub regularly. They may want to identify and remove the root cause of issues encountered by btrfs-scrub.service.
Again no facts, ignoring questions and showing only some random output from ridiculous hosts. So again:
How do you use btrfs scrub to monitor your SSD/HDD health like:
temperatures (min/max/act)
lifetime power-on resets
power on time
power cycle count
number of write commands
number of read commands
total bad blocks
erase count
online/offline short/extented self-tests
error logs
life courve status
media wear out indicator
reserved block count
and many more…
Additionally you ignore the fact that experienced users my don‘t use btrfs and set up their machines in a more professional way that suits their need by using another filesystem. So how does your btrfs scrub work on xfs, ext4 or any other up to date used filesystem?
The TO didn‘t say which filesystem he is using but asked for ways to check SSD (HDD) health in general. That means recommending a filesystem level tool (which only works with btrfs) which doesn‘ t even check basic hardware indicators (S.M.A.R.T) is useless and off topic.