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.