Monitoring raid status

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
0
down vote

favorite












I have installed MegaCLI on a centos 6 server and trying to monitor the raid status. When I run megacli -PDList -Aall this is the result:



[root@da435 MegaCli]# megacli -PDList -Aall
OSSpecificInitialize: Failed to load ./libsysfs.so.2.0.2 Please ensure that libsfs is present in the system.
The dependent library libsysfs.so.2.0.1 not available. Please contact LSI for distribution of the package


libsysfs library is installed:



[root@da435 MegaCli]# yum install libsysfs
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.tummy.com
* epel: fedora-epel.mirror.lstn.net
* extras: mirror.cc.columbia.edu
* updates: mirror.genesishosting.com
Package libsysfs-2.1.0-7.el6.x86_64 already installed and latest version
Nothing to do


Any idea how can I fix this?










share|improve this question























  • What is the result of ldd megacli?
    – Romeo Ninov
    Nov 18 at 9:27










  • ldd: ./megacli: No such file or directory
    – Amin
    Nov 18 at 20:14






  • 1




    enter the full path to the megacli executable
    – Romeo Ninov
    Nov 18 at 20:38










  • Wow, man you saved me! it worked! I ran "./MegaCli64 -PDList -Aall | less" in "/opt/MegaRAID/MegaCli" path.
    – Amin
    Nov 18 at 22:26















up vote
0
down vote

favorite












I have installed MegaCLI on a centos 6 server and trying to monitor the raid status. When I run megacli -PDList -Aall this is the result:



[root@da435 MegaCli]# megacli -PDList -Aall
OSSpecificInitialize: Failed to load ./libsysfs.so.2.0.2 Please ensure that libsfs is present in the system.
The dependent library libsysfs.so.2.0.1 not available. Please contact LSI for distribution of the package


libsysfs library is installed:



[root@da435 MegaCli]# yum install libsysfs
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.tummy.com
* epel: fedora-epel.mirror.lstn.net
* extras: mirror.cc.columbia.edu
* updates: mirror.genesishosting.com
Package libsysfs-2.1.0-7.el6.x86_64 already installed and latest version
Nothing to do


Any idea how can I fix this?










share|improve this question























  • What is the result of ldd megacli?
    – Romeo Ninov
    Nov 18 at 9:27










  • ldd: ./megacli: No such file or directory
    – Amin
    Nov 18 at 20:14






  • 1




    enter the full path to the megacli executable
    – Romeo Ninov
    Nov 18 at 20:38










  • Wow, man you saved me! it worked! I ran "./MegaCli64 -PDList -Aall | less" in "/opt/MegaRAID/MegaCli" path.
    – Amin
    Nov 18 at 22:26













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have installed MegaCLI on a centos 6 server and trying to monitor the raid status. When I run megacli -PDList -Aall this is the result:



[root@da435 MegaCli]# megacli -PDList -Aall
OSSpecificInitialize: Failed to load ./libsysfs.so.2.0.2 Please ensure that libsfs is present in the system.
The dependent library libsysfs.so.2.0.1 not available. Please contact LSI for distribution of the package


libsysfs library is installed:



[root@da435 MegaCli]# yum install libsysfs
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.tummy.com
* epel: fedora-epel.mirror.lstn.net
* extras: mirror.cc.columbia.edu
* updates: mirror.genesishosting.com
Package libsysfs-2.1.0-7.el6.x86_64 already installed and latest version
Nothing to do


Any idea how can I fix this?










share|improve this question















I have installed MegaCLI on a centos 6 server and trying to monitor the raid status. When I run megacli -PDList -Aall this is the result:



[root@da435 MegaCli]# megacli -PDList -Aall
OSSpecificInitialize: Failed to load ./libsysfs.so.2.0.2 Please ensure that libsfs is present in the system.
The dependent library libsysfs.so.2.0.1 not available. Please contact LSI for distribution of the package


libsysfs library is installed:



[root@da435 MegaCli]# yum install libsysfs
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirrors.tummy.com
* epel: fedora-epel.mirror.lstn.net
* extras: mirror.cc.columbia.edu
* updates: mirror.genesishosting.com
Package libsysfs-2.1.0-7.el6.x86_64 already installed and latest version
Nothing to do


Any idea how can I fix this?







centos raid






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 18 at 9:26









Romeo Ninov

4,89431627




4,89431627










asked Nov 18 at 8:51









Amin

3915




3915











  • What is the result of ldd megacli?
    – Romeo Ninov
    Nov 18 at 9:27










  • ldd: ./megacli: No such file or directory
    – Amin
    Nov 18 at 20:14






  • 1




    enter the full path to the megacli executable
    – Romeo Ninov
    Nov 18 at 20:38










  • Wow, man you saved me! it worked! I ran "./MegaCli64 -PDList -Aall | less" in "/opt/MegaRAID/MegaCli" path.
    – Amin
    Nov 18 at 22:26

















  • What is the result of ldd megacli?
    – Romeo Ninov
    Nov 18 at 9:27










  • ldd: ./megacli: No such file or directory
    – Amin
    Nov 18 at 20:14






  • 1




    enter the full path to the megacli executable
    – Romeo Ninov
    Nov 18 at 20:38










  • Wow, man you saved me! it worked! I ran "./MegaCli64 -PDList -Aall | less" in "/opt/MegaRAID/MegaCli" path.
    – Amin
    Nov 18 at 22:26
















What is the result of ldd megacli?
– Romeo Ninov
Nov 18 at 9:27




What is the result of ldd megacli?
– Romeo Ninov
Nov 18 at 9:27












ldd: ./megacli: No such file or directory
– Amin
Nov 18 at 20:14




ldd: ./megacli: No such file or directory
– Amin
Nov 18 at 20:14




1




1




enter the full path to the megacli executable
– Romeo Ninov
Nov 18 at 20:38




enter the full path to the megacli executable
– Romeo Ninov
Nov 18 at 20:38












Wow, man you saved me! it worked! I ran "./MegaCli64 -PDList -Aall | less" in "/opt/MegaRAID/MegaCli" path.
– Amin
Nov 18 at 22:26





Wow, man you saved me! it worked! I ran "./MegaCli64 -PDList -Aall | less" in "/opt/MegaRAID/MegaCli" path.
– Amin
Nov 18 at 22:26











1 Answer
1






active

oldest

votes

















up vote
2
down vote













I had to change the path to /opt/MegaRAID/MegaCli first and then run the command with:



cd /opt/MegaRAID/MegaCli
./MegaCli64 .





share|improve this answer






















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482493%2fmonitoring-raid-status%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    2
    down vote













    I had to change the path to /opt/MegaRAID/MegaCli first and then run the command with:



    cd /opt/MegaRAID/MegaCli
    ./MegaCli64 .





    share|improve this answer


























      up vote
      2
      down vote













      I had to change the path to /opt/MegaRAID/MegaCli first and then run the command with:



      cd /opt/MegaRAID/MegaCli
      ./MegaCli64 .





      share|improve this answer
























        up vote
        2
        down vote










        up vote
        2
        down vote









        I had to change the path to /opt/MegaRAID/MegaCli first and then run the command with:



        cd /opt/MegaRAID/MegaCli
        ./MegaCli64 .





        share|improve this answer














        I had to change the path to /opt/MegaRAID/MegaCli first and then run the command with:



        cd /opt/MegaRAID/MegaCli
        ./MegaCli64 .






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Nov 18 at 23:08









        Jeff Schaller

        36.3k952119




        36.3k952119










        answered Nov 18 at 22:28









        Amin

        3915




        3915



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f482493%2fmonitoring-raid-status%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown






            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay