Installation of LSI MEGACLI Disk array management tool under Ubuntu

Source: Internet
Author: User
Tags gpg


the server with Ubuntu system is turned on, but to see the status of the server RAID10, the LSI megacli Disk array management tool can be viewed by the following steps:


1. Add Update source

sudo vim/etc/apt/sources.list//add at the end

Deb Http://hwraid.le-vert.net/ubuntu Precise Main

sudo apt-get update//updating source

Note: Some warnings can be ignored, but if you are prompted with a GPG error, you need to add a certificate by following this command:

sudo wget-o-Http://hwraid.le-vert.net/debian/hwraid.le-vert.net.gpg.key | sudo apt-key add-

sudo apt-get update

2, Installation Megacli

sudo apt-get install-y megacli megactl megaraid-status

Speed issues can cause slow downloads. The download does not move, you can terminate the CTRL + C, and then run the previous command to download.

Download complete will prompt the configuration Postfix , choose not to configure: No Configuration

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/8B/44/wKioL1hI5mvAevQGAABi_vvg0_8550.png "title=" 1.png " alt= "Wkiol1hi5mvaevqgaabi_vvg0_8550.png"/>

3. Display RAID card model, RAID settings, disk related information

sudo megacli-cfgdsply-aall

View RAID Status

sudo megacli-cfgdsply-aall |grep "state"

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/8B/44/wKioL1hI5pfySYvlAABSMcbavyo568.png "title=" 2.png " alt= "Wkiol1hi5pfysyvlaabsmcbavyo568.png"/>

Note : Stateis optimal, which indicates normal. after replacing the damaged hard drive, the machine will automatically synchronize the RAID data, the status is degraded degraded state, do not need any other operation, just wait a few hours to fully synchronize data, restore the raid status.

4. View all Physical Disk information

sudo megacli-pdlist-aall

View disk size

sudo megacli-pdlist-aall |grep "Rawsize"

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8B/44/wKioL1hI5qPzFm84AABbzl2xqfk135.png "title=" 3.png " alt= "Wkiol1hi5qpzfm84aabbzl2xqfk135.png"/>

Reference: http://www.oschina.net/question/12_248726


This article is from the "M April Days" blog, please be sure to keep this source http://msiyuetian.blog.51cto.com/8637744/1880685

Installation of LSI MEGACLI Disk array management tool under Ubuntu

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.