From f575d9c7dec7f252a2c8a18f5a2455f7003d083c Mon Sep 17 00:00:00 2001 From: Keith Nash Date: Fri, 3 Jul 2020 14:30:01 -0500 Subject: [PATCH] Update README.md Added SAS support to the SMART report script. --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index 0df4bab..01275ed 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,7 @@ All of the Perl code is my own contribution. *** # smart_report.sh -Generates and emails you a status report with detailed SMART information about your system's drives. - -By default, my version of this script uses a function I wrote which uses smartctl's scan list to obtain the SMART-enabled drives on the system, but you have the option of using either a hard-coded list or a sysctl-based method instead, if you so choose. This version allows for serial numbers up to 18 characters in length, where the original only supported 15. It also selects the "Device Model" as the drive 'brand' if the "Model Family" SMART attribute is unavailable. +Generates and emails you a status report with detailed SMART information about your system's SATA and SAS drives. A hearty thanks to contributor marrobHD for help in adding SAS support. You will need to edit the script and enter your email address before using it. @@ -26,10 +24,6 @@ Example: for a 3ware controller, edit the script to invoke SMARTCTL like this: ``` "${smartctl}" [options] -d /dev/"${drive}" ``` -You will also need to comment out or remove the 3 methods for determining your system drives, including the call to get_smart_drives, and replace with a simple list of the drives on your system: -``` -drives="0 1 2 3" -``` Refer to the SMARTCTL man page for addtional details, including support for other controller types. *** # zpool_report.sh