1
0
mirror of https://github.com/Spearfoot/FreeNAS-scripts synced 2025-12-11 05:43:24 +00:00

Updated to reflect support for TrueNAS

This commit is contained in:
Keith Nash
2020-10-27 14:23:28 -05:00
committed by GitHub
parent e0952813b5
commit 7ec70381ce

View File

@@ -1,11 +1,21 @@
# FreeNAS Scripts # FreeNAS/TrueNAS Scripts
Handy shell and Perl scripts for use on FreeNAS servers Handy shell and Perl scripts for use on FreeNAS and TrueNAS servers
Most of the shell scripts here are my versions of the useful scripts available at the ["Scripts to report SMART, ZPool and UPS status, HDD/CPU T°, HDD identification and backup the config"](https://forums.freenas.org/index.php?threads/scripts-to-report-smart-zpool-and-ups-status-hdd-cpu-t%C2%B0-hdd-identification-and-backup-the-config.27365/) thread on the FreeNAS forum. The original author is FreeNAS forum member BiduleOhm, with others contributing suggestions and code changes. I have modified the syntax and made minor changes in formatting and spacing of the generated reports. Most of the shell scripts here are my versions of the useful scripts available at the ["Scripts to report SMART, ZPool and UPS status, HDD/CPU T°, HDD identification and backup the config"](https://forums.freenas.org/index.php?threads/scripts-to-report-smart-zpool-and-ups-status-hdd-cpu-t%C2%B0-hdd-identification-and-backup-the-config.27365/) thread on the FreeNAS forum. The original author is FreeNAS forum member BiduleOhm, with others contributing suggestions and code changes. I have modified the syntax and made minor changes in formatting and spacing of the generated reports.
I used the excellent shell script static analysis tool at https://www.shellcheck.net to insure that all of the code is POSIX-compliant and free of issues. But this doesn't mean you won't find any errors. ☺️ I used the excellent shell script static analysis tool at https://www.shellcheck.net to insure that all of the code is POSIX-compliant and free of issues. But this doesn't mean you won't find any errors. ☺️
All of the Perl code is my own contribution. All of the Perl code is my own contribution.
***
#### Operating System Compatibility
Tested under:
* TrueNAS 12.0 (FreeBSD 12.2)
* TrueNAS 11.3 (FreeBSD 11.3-STABLE)
* FreeNAS 11.2 (FreeBSD 11.2-STABLE)
Earlier versions of FreeNAS were supported, but are no longer tested.
*** ***
# smart_report.sh # smart_report.sh