Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How does linux view raid? what are the levels

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

Xiaobian to share with you how to view the raid is a few levels of linux, I believe most people do not know how to share this article for your reference, I hope you have a lot of harvest after reading this article, let us go to understand it together!

Linux to see how many levels of raid is: 1. Use rpm to download the "MegaCli64/MegaCli" auxiliary tool;2. Use the "dmidecode -s system-product-name" command to view the server model and check the level of raid.

Operating environment: Linux 7.3 system, Dell G3 computer.

How to check the level of RAID in Linux

You can view it by executing the command in the system. You need to install the auxiliary tool: MegaCli64/MegaCli. The specific usage is as follows:

1. Download the latest rpm package installation:

rpm -ivh Lib_Utils-1.00-09.noarch.rpm MegaCli-8.04.07-1.noarch.rpm

Default installation under/opt

2. Inquiry:

dmidecode -s system-product-name

View Server Models

View Server Hardware RAID:

/opt/MegaRAID/MegaCli/MegaCli64 -cfgdsply -aALL|grep "RAID Level"|tail -1|awk -F: '{print $1" :"$2}'

RAID model correspondence table information is as follows:

RAID Level : Primary-1, Secondary-0, RAID Level Qualifier-0" #Representative Raid 1RAID Level : Primary-0, Secondary-0, RAID Level Qualifier-0" #Representative Raid 0RAID Level : Primary-5, Secondary-0, RAID Level Qualifier-3" #Representative Raid 5RAID Level : Primary-1, Secondary-3, RAID Level Qualifier-0" #stands for Raid10 above is"linux how to check raid is a few levels "All the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report