EDIT: Updated the file to v2.0.2 to fix two problems.
Here is Version
2.0 2.0.2 and most of the updates were done last week, until I saw the version
@dak180 was working on (Thanks
@dak180) . I now have added data collection for the drives in the JSON format as well and if it proves to work out, it will replace the 'a' and 'x' files currently collected.
The changes you get with this change are a few added or updated a features, better readability for help information, but most important was adding better data collection and email support in order to troubleshoot a problem swiftly and accurately. Right now I can simulate a single drive at a time which is why I ask for the drive data.
With the custom drive configuration you can really edit each drive. For SSD/NVMe that shows Wear Level in reverse (0 = 100% good), there is a reverse option now. Because this option was added, if you already have a custom drive configuration, you will need to update it by deleting the custom data and recreating it or you will get a notification it's out of date.
The Email Support will now send me -dump files to the email address I created just for this project. This will ease the burden on the user. However I will know what your email address is and some people will be uneasy about this. Several people here can tell you that I will not share your email address, and I will not. I will communicate back to you via the email address it came from. If you prefer to just start a conversation here in the Forum and send attachments that way, that is fine too and will keep you anonymous. I just thought I'd make it easier for some people. To use this feature use the
-dump email
parameter and answer "y" to the question if you want to send the data to Joe. If you answer anything else, the dump will only go to your email address.
The one thing I have not been able to make work as I'd like is the Mouseover feature so there is an alternate method available. If someone knows how to make this feature work properly, I'm willing to accept the code that actually works in the email HTML.
### Changelog:
# V2.0.2 (22 January 2023)
# - Fix Wear Level that may fail on some drives.
#
# v2.0.1 (21 January 2023)
# - Fixed Zpool Fragmentation Warning for 9% and greater (Hex Math issue again).
#
# v2.0 (21 January 2023)
# - Formatted all -config screens to fit into 80 column x 24 lines.
# - Removed custom builds
# - Fixed Custom Configuration Delete Function.
# - Fixed Zpool Scrub Bytes for FreeNAS 11.x
# - Fixed SMART Test to allow for 'Offline' value.
# - Modified Wear Level script to account for 'Reverse' Adjustment.
# - Added Wear Level Adjustment Reversing to the Custom Drive configuration.
# - Added Output.html to -dump command.
# - Added Mouseover and Alternate '()' to Mouseover for normalized values (Reallocated Sectors, Reallocated Sector Events, UDMA CRC, MultiZone).
# - Updated Testing Code to accept both drive_a and drive_x files.
# - Added Zpool Fragmentation value by request.
# - Added '-dump email' parameter to send
joeschmuck2023@hotmail.com an email with the drive data and the multi_report_config.txt file ONLY.
# - Added Drive dump data in JSON format. It looks like a better way to parse the drive data. Still retaining the older file format for now.
#
# The multi_report_config file will automatically update previous versions to add new features.
Please let me know if you find an error or concern. You can let me know here or at the email address
joeschmuck2023@hotmail.com
Last Note: Please do not think that I don't have a day job, I do. If you send me and email, I will get to it when I get home from work, if I don't have other pressing matters like an ill wife. Most of the problems I see have easy fixes but may take a few hours to fix and then test on Core and Scale before I send the fix out. Post testing takes the most amount of time. Also, if you see the script provide a strange output, run the script again, verify it didn't burp on you. I'm not sure why BASH can crap on you but it happens. Not often but it does happen. Run the script again and verify the problem occurred before sending me something. I'm working to eliminate that issue (fingers crossed).
Cheers,
-Joe