GithubHelp home page GithubHelp logo

c0psrul3 / lsi.sh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blacklotus/lsi.sh

0.0 1.0 0.0 14 KB

Fork of lsi.sh from https://calomel.org/megacli_lsi_commands.html

License: Other

Shell 100.00%

lsi.sh's Introduction

lsi.sh

Fork of lsi.sh from https://calomel.org/megacli_lsi_commands.html This code is distributed under the CC BY-SA 4.0 License

What is this?

A bash wrapper for the megacli tool from LSI to manage MegaRaid clusters. The megacli-tool is notorious for being cryptic/hard to use 1.

There is also a new tool called storcli 2 which is much nicer to use, but still not as intuitive as it could be.

Usage

Open the lsi.sh file and edit your settings (path and enclosure) for more info visit the post at the beginning of the readme.

[root@cluster ~]# ./lsi 

            OBPG  .:.  lsi.sh  
-----------------------------------------------------
status        = Status of Virtual drives (volumes)
drives        = Status of hard drives
ident $slot   = Blink light on drive (need slot number)
good $slot    = Simply makes the slot "Unconfigured(good)" (need slot number)
replace $slot = Replace "Unconfigured(bad)" drive (need slot number)
progress      = Status of drive rebuild
errors        = Show drive errors which are non-zero
bat           = Battery health and capacity
batrelearn    = Force BBU re-learn cycle
logs          = Print card logs
checkNemail   = Check volume(s) and send email on raid errors
allinfo       = Print out all settings and information about the card
settime       = Set the raid card's time to the current system time
setdefaults   = Set preferred default settings for new raid setup
alarm         = Enable (1) or disable (0) the alarm sound

lsi.sh's People

Contributors

blacklotus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.