Get the App
SLTechnology News&Howtos  ›  Servers  › 

How does Linux raid view log information

Shulou Source: shulou.com Published: 2022-06-03 06:15:44 11月14日 Update

This article is to share with you the method of Linux raid to view log information, I believe most people do not know how to view it, in order to let you learn, to sum up the following content, do not say much, let's read on.

Software raid: can only be viewed through the Linux system itself

Cat / proc/mdstat

You can see the raid level, status and other information.

Hardware raid: the best way is to view it through the installed raid vendor's management tools, including cmdline and a graphical interface. For example, the hardware card of Adaptec can be viewed by the following command:

# / usr/dpt/raidutil-L all

You can see very detailed information.

Of course, it is more likely that there are no corresponding management tools installed, and there are generally two ways to rely on Linux itself:

# dmesg | grep-I raid# cat / proc/scsi/scsi

The information displayed is the manufacturer, model and level of raid, but the information of each hard drive cannot be viewed.

This is the end of Linux raid's method of viewing log information, and solving the problem is not just the way analyzed by everyone in the article, but the accuracy of the method analyzed in this article is indisputable. If you like this article, you might as well share it for more people to see.

Tags: Information methods logs methods vendors tools articles more hardware management tools levels analysis management no doubt company content accuracy available through commands graphics Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Shulou Technology Redmi Shulou Tech Info Huawei