MegaTUI to handle MegaRaid Cards
I thought it was time to mention work I did a year ago in regards to LSI MegaRaid cards, think most Linux admins have come a cross a MegaRaid card, they are common on Dell servers and many OEM are using them as raid controllers in their servers.What is not so nice with the controllers is the megacli command line tool, it's so arcane it hand things that each time u use you need to spend a good time to wrap your head around it again. a bit over a year ago I was faced with this problem and I thought ok so lets see if there is a way to make this easier.
I found some work online in re to monitoring, namely megaclisas-status, you can find it here: https://github.com/eLvErDe/hwraid/blob/master/wrapper-scripts/megaclisas-status so I started to experiment a little and out a bit later came megatui, which you can find here: https://github.com/faircreek/megatui/blob/master/MegaTUI
It's a complete TUI (textual user interface) to megacli, you can create all kind of raid configurations, you can maintain raid configurations, you can list them etc. In short you basically do nearly every single thing you can do with the megacli program with MegaTUI just, it's just a lot easier and a lot simpler and need to learn this overly arcane program.
I currently don't have access to hardware with MegaRaid cards, so I would really look forward if you report any problems that you work with me. In other words send me MegaCli output, don't worry I will send you the command sequence that is needed.