-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no SMART info on MSA70 #997
Comments
I think we have another example of the same problem in the following forum post:- |
Not yet sure if this issue is related to smart available but not enabled via command line report but GUI reporting not available. See forum thread http://forum.rockstor.com/t/s-m-a-r-t-support-is-not-available-for-this-disk/830 |
I am currently looking into this issue: Found issues using submitted info from lsi9207 smart reporting:- |
It seems some SMART reports, in this case from an lsi controller, differs in formatting and content, this is causing smart to appear as not available or enabled and even if this wasn't the case the reports differ such that current parsing is challenged to find relevant entries.
Add a mode to read an example smartctl output file dump read via cat instead of the actual smartctl command. This enables test parsing of submitted smartctl output.
some smart reports appear to have additional spaces after the : char so allow matches for this to enable smart status read.
Plus some additional temporary logging.
Add additional string matches to catch equivalent info from some differently named SMART attributes. Some controllers / hw seem to name attributes differently, ie "Serial number" or "Serial Number", "Firmware" or "Revision"
Add more comments to explain the use of more parsers.
Removed previous logging and improved comments on other parsers in the same file.
add temporary logging to assess test mode.
Note on where I left off with error_logs. Parser works but later GUI component need tweak to at least display the raw logs.
I will try and pick this up again tomorrow (UK). Have fixed smart availability / enabled status reading bug on some differently formatted smart outputs such as supplied lsi9207 but need to do more work on parsing and displaying the same differently formatted smart output. I expect this to be ready soon for pr / review stage. |
Some smart reports have no standard formatting, in this case indicate that no summary is available and display the raw log if > 4 lines, taking care to preserving the original formatting.
Some drives report no capabilities as this is an ATA/SATA only feature so state non found rather than empty table. Also reformat to spaces not tabs
Some drives report no attributes as this is an ATA/SATA only feature so state non found rather than empty table. Also reformat related code.
@schakrava Pull request ready for review. |
Thanks to @titus_36 on the forum for reporting this.
It seems there is no WebUI SMART info displayed yet it is available on the command line.
Reason seems to be that the info is differently formatted to what the current parser expects and there is much less of it. Original reporter is hopefully to send in no-smart-msa70-report.tar.gz file resulting form commands requested on the following forum thread:- http://forum.rockstor.com/t/no-smart-support-for-msa70/641
Please update the forum post on progress with this issue.
The text was updated successfully, but these errors were encountered: