To check your current RAID configuration in a Linux-based system, you simply need to open up a terminal and type in the following command:
After the command is entered, you should receive details featuring the raid algorithm, level, and chunk size.
Here is an example for an Exxact Spectrum TXN003-0128N Deep Learning Workstation RAID configuration with the OS on RAID1, and data on RAID 5:
root@admin:~$ cat /proc/mdstat
Personalities : [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sdb2 sda2 136448 blocks [2/2] [UU] md2 : active raid1 sdb3 sda3 129596288 blocks [2/2] [UU] md3 : active raid5 sdl1 sdk1 sdj1 sdi1 sdh1 sdg1 sdf1 sde1 sdd1 sdc1 1318680576 blocks level 5, 1024k chunk, algorithm 2 [10/10] [UUUUUUUUUU] md0 : active raid1 sdb1 sda1 16787776 blocks [2/2] [UU] unused devices: <none>
Here is a brief line-by-line explanation for the example above:
Personalities : [raid1] [raid6] [raid5] [raid4]
The “Personalities” line describes what RAID level the kernel currently supports. This can be changed by recompiling the kernel or changing the raid modules. Here is a list of possible personalities: [raid0] [raid1] [raid4] [raid5] [raid6] [linear] [multipath] [faulty]
md1: active raid1 sdb2 sda2
For the md device line, here is what each identifier describes:
- md1 = Name of RAID array
- active = RAID is active
- raid1 = Type of RAID
- sdb2 and sda2 = Devices associated with this RAID array
-  and  = RAID role numbers within that array, for each device
136448 blocks [2/2] [UU]
This line provides basic information about the fixed size and layout. It indicates the useable size of the array in blocks. The [n/m] line, or [2/2] line in the example, means that the array would have n devices, however m devices are in use. The [UU] represents the status of each device. “U” stands for up while a “_” stands for down.
Learn more about Exxact’s Deep Learning Servers.