Get SMART attributes also in probe, but only if the disk is already spinning

This commit is contained in:
Andrea Mazzoleni 2025-12-25 21:03:46 +01:00
parent 986d7464b4
commit fca525e5c6
4 changed files with 44 additions and 22 deletions

View file

@ -957,10 +957,14 @@ These tags provide a final summary of the rehash scheduling process.
a fatal error.
14 COMMAND SMART TAGS
=====================
14 COMMAND SMART AND PROBE TAGS
===============================
This section describes the tags output with the `smart` command.
This section describes the tags output by the `smart` and `probe`
commands. The main difference between the two is that `probe` doesn't
spin up the disk, so it won't be able to get all attributes if the
disk is spun down. The `smart` command, instead, will always get all
attributes, but with the risk of spinning up all disks.
Note that a `<disk_name>` may be associated with more `<device_file>`,
in case the logical disk uses more physical disks. In such a case,