Add SMART self-test results to zpool status -c

Add in SMART self-test results to zpool status|iostat -c.  This
works for both SAS and SATA drives.

Also, add plumbing to allow the 'smart' script to take smartctl
output from a directory of output text files instead of running
it against the vdevs.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #7178
This commit is contained in:
Tony Hutter
2018-02-27 09:31:27 -08:00
committed by Brian Behlendorf
parent 095495e008
commit 3e9c9d8a89
7 changed files with 133 additions and 18 deletions
+1
View File
@@ -0,0 +1 @@
smart