How to correctly view Raid information in Linux

Source: Internet
Author: User
In some cases, the system is not installed on its own, and raid is not configured on its own. after logging on to the system remotely, you may not know whether the system is raid or raid-level? So let's take a look at the software in Linux.

In some cases, the system is not installed on its own, and raid is not configured on its own. after logging on to the system remotely, you may not know whether the system is raid or raid-level? Therefore, I will briefly summarize how to view the soft and hard raid information in Linux.

Software raid:It can only be viewed in Linux.

Cat/proc/mdstat

The raid level and status are displayed.

Hardware raid:The best solution is to view the problem through the installed raid vendor's management tools, including the cmdline and graphical interface. for example, the hard card of Adaptec can be viewed through the following command:

#/Usr/dpt/raidutil-L all

We can see very detailed information. of course, there is no corresponding management tool installed. if you only need to rely on Linux itself, I usually know two methods:

# Dmesg | grep-I raid

# Cat/proc/scsi

The displayed information is similar to the raid manufacturer, model, and level. However, you cannot view the information of each hard disk. In addition, after actual testing, the Dell server can be displayed by command, however, servers such as HP and IBM cannot be displayed through the above commands. they can only be viewed by installing management tools of hardware vendors.

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.