How to correctly view Raid information in Linux

Source: Internet
Author: User
Article Title: how to correctly view Raid information in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems. 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 would like to briefly summarize how to view the soft and hard raid information in Linux.

Software raid: can only be viewed in Linux

Cat/proc/mdstat

The raid level and status are displayed.

Hardware raid: the best solution is to use the installed raid vendor's management tools to check whether there is a broken line or a graphical interface. For example, the Adaptec hardware card can be viewed through the following command:

#/Usr/dpt/raidutil-L all

The detailed information is displayed.

Of course, in more cases, there is no corresponding management tool installed. If you only need to rely on Linux itself, I generally 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 tests, Dell servers can be displayed through commands, while servers such as HP and IBM cannot be displayed through the above commands. You can only view the information by installing the management tools of hardware vendors.
Related Article

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.