HomeFreeBSD

Add SMART self-test results to zpool status -c

Description

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

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Feb 27 2018, 5:31 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 27 2018, 5:31 PM
Parents
rG095495e0081c: Raw DRR_OBJECT records must write raw data
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG3e9c9d8a89c8: Add SMART self-test results to zpool status -c (authored by Tony Hutter <hutter2@llnl.gov>).Feb 27 2018, 5:31 PM