Article Title: how to view soft and hard 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.
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 BMC of DELL by installing the management tools of hardware vendors.
Cat/proc/scsi
We can see that it is a device on SCSI. Generally, you can see the RAID level. The model of the RAID card is displayed in lspci.