Debian&&ubuntu System Installation Megacli

Source: Internet
Author: User

MEGACLI This command can be used to monitor the raid status, disk status, etc., recently on a number of Ubuntu system run OpenStack, the problem is megacli on the official website only RPM format package, no Deb package, but there is a way to solve, RPM packages can also be installed on the Debian&&ubuntu.

You can download the latest ZIP file packages to the following connections:

?
1 http://www.lsi.com/Search/Pages/results.aspx?k=MegaCLI&r=productfacet%3D%22AQxNZWdhUkFJRCBTQVMMcHJvZHVjdGZhY2V0AQJeIgIiJA%3D%3D%22%20os%3D%22AQVMaW51eAJvcwEBXgEk%22

I downloaded the 8.00.48_linux_megacli.zip.

Additional packages required for pre-installation:

?
1 apt-get -y installrpm2cpio libsysfs2 libsysfs-dev unzip

After the installation is complete, execute the following command:

?
12 cd/lib/x86_64-linux-gnu/ln-s libsysfs.so.2.0.1 libsysfs.so.2.0.2

Enter the directory where the 8.00.48_linux_megacli.zip package is located and execute the following command:

?
123456 unzip 8.00.48_Linux_MegaCLI.zipunzip MegaCliLin.ziprpm2cpio Lib_Utils-1.00-09.noarch.rpm | cpio -idmvrpm2cpio MegaCli-8.00.48-1.i386.rpm | cpio -idmvcpopt/MegaRAID/MegaCli/MegaCli64 /sbin/cp opt/MegaRAID/MegaCli/MegaCli/sbin/

MEGACLI not only can query the status of the raid, but also set the state of the raid, so it is better for the administrator to master, so that the installation is complete.

The following are common commands for checking RAID status:

Megacli64-ldinfo-lall-aall can check RAID level

Megacli64-pdlist-aall can check the status of all physical disks

Megacli64-adpallinfo-aall display of all RAID information

Megacli64-cfgdsply-aall Display all the disk information

Megacli64-fwtermlog-dsply-aall This contains some of the logs used

Other powerful features of MEGACLI also see the official documentation.

Debian&&ubuntu System Installation Megacli

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.