phpsysinfo / phpsysinfo

phpSysInfo: a customizable PHP script that displays information about your system nicely
http://phpsysinfo.github.io/phpsysinfo
GNU General Public License v2.0
1.38k stars 233 forks source link

Active operations at storcli #364

Closed schabau closed 1 year ago

schabau commented 1 year ago

Good day,

I added storcli to my phpSysInfo some time ago to display the raid status.

Today I noticed that storcli does not show the consistency check status. I assume that the rebuild status and other active operations would not be shown either, since the storcli64 /call show all command does not show any active operations.

You could expand the available data with the command storcli64 /call show all>raidstorcli.tmp; storcli64 /call /vall show all>>raidstorcli.tmp so that you can also evaluate the active operations. This is what the output from this command looks like:

raidstorcli.tmp.txt

Best regards and happy Christmas holidays schabau

namiltd commented 1 year ago

Done: https://github.com/phpsysinfo/phpsysinfo/commit/f37f6718f0a478eef7f48ee5e67fe28a0f9b9554

schabau commented 1 year ago

Hello,

Thank you for the Christmas present. What the status appears for under "Active Operations" remains to be seen in the future. I found "Background Initialization" and "Consistency Check" listed under "Active Operations".

I like Storcli because it gives more information than megaclisas-status. (Hard Drive Model, Supported Raid Types, BBU Temperature) The disadvantage is that with storcli you have to query everything individually. (/call show all; /call show patrolread; /call /vall show all; /call /eall /sall show all; /call /eall /sall show rebuild; ...) So everything has its pros and cons.

Thank you and best regards schabau