Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
SMART parsing issue shell script helper #1507
To aid in debugging user reported SMART parsing errors it has proven useful to retrieve the raw output from the SMART commands used by Rockstor to present the Web-UI parsed information. In the past this has required repeated forum posts indicating the required command set. I propose that a simple shell script be included in /opt/rockstor/src/rockstor/scripts that accepts a device name as a single argument ie:
Where the given device name, in any smartctl viable device naming convention, indicates the problem drive. This would then simplify future reports of such SMART parsing issues by preparing the smartctl output dumps required to address the parsing issues encountered via the built in developer accessible testing mode in:
It is proposed that this initially only cater for HBA smart info retrieval, as opposed to the more complex syntax required when drives are behind some raid controllers.