Skip to content

Commit f575d9c

Browse files
authored
Update README.md
Added SAS support to the SMART report script.
1 parent 6b7d19c commit f575d9c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

README.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ All of the Perl code is my own contribution.
99
***
1010
# smart_report.sh
1111

12-
Generates and emails you a status report with detailed SMART information about your system's drives.
13-
14-
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.
12+
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.
1513

1614
You will need to edit the script and enter your email address before using it.
1715

@@ -26,10 +24,6 @@ Example: for a 3ware controller, edit the script to invoke SMARTCTL like this:
2624
```
2725
"${smartctl}" [options] -d /dev/"${drive}"
2826
```
29-
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:
30-
```
31-
drives="0 1 2 3"
32-
```
3327
Refer to the SMARTCTL man page for addtional details, including support for other controller types.
3428
***
3529
# zpool_report.sh

0 commit comments

Comments
 (0)