-
Notifications
You must be signed in to change notification settings - Fork 193
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
storcli.py: don't error out on unsupported features #201
storcli.py: don't error out on unsupported features #201
Conversation
54f0a84
to
96a708a
Compare
While you're at it, could you do a similar thing for the drive temperature? We had a similar problem there with our drive. |
I'm not sure which elements you need tweaked... |
|
96a708a
to
c8d6251
Compare
Updated, can you check it for sanity?. Do you know who might have merge rights on this repo? |
Code looks good to me. For merge rights, I know dswarbrick has, but probably also all contributors that list prometheus as their workplace. |
@dswarbrick Could you review this PR (and others for storcli.py)? |
@jcpunk Are these "N/A" and "Unknown" values being emitted by storcli for actual online and spun-up drives? This seems like a pretty big oversight by LSI to omit these data, considering that most of them are mandatory SMART items. Are you sure it's not just a case of a spun-down / offline / power-save / standby disk? |
I can confirm these drives are spun up and serving data. In this instance the OS is on these drives. |
Signed-off-by: Pat Riehecky <[email protected]>
c8d6251
to
13de14c
Compare
Since storcli is closed source, we don't have any way to dig deeper into why a spun-up drive is not reporting basic info like this. I'm okay with merging this, but we might want to consider a helper function in future to reduce some of the if-statement boilerplate code. |
…nity#201) Signed-off-by: Pat Riehecky <[email protected]>
Tested hardware:
LSI SAS3008 PCI-Express Fusion-MPT SAS-3 (rev 02)
This integrated RAID chip doesn't emit stats for these features.