我已经在 centos 6 服务器上安装了 MegaCLI 并尝试监控 raid 状态。当我运行时,megacli -PDList -Aall
结果如下:
[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 库已安装:
[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
知道如何解决这个问题吗?
答案1
我必须先将路径更改为 /opt/MegaRAID/MegaCli,然后运行命令:
cd /opt/MegaRAID/MegaCli
./MegaCli64 .