Answer the question
In order to leave comments, you need to log in
How to understand if the RAID array is rebuilt correctly?
I tried to test the reassembly of a RAID1 array on CentOS 6.
I acted according to this scheme phpsuxx.blogspot.com/2009/11/linux-raid0.html
The author had three sections, I have two - this is the main difference, but it is not significant here.
Everything seems to be going well, but one moment is confusing.
Before the test, /proc/mdstat looked like this:
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[0]
255988 blocks super 1.0 [2/2] [UU]
md1 : active raid1 sdb2[1] sda2[0]
312312700 blocks super 1.1 [2/2] [UU]
bitmap: 0/3 pages [0KB], 65536KB chunk
unused devices: <none>
Personalities : [raid1]
md0 : active raid1 sdb1[1] sda1[2]
255988 blocks super 1.0 [2/2] [UU]
md1 : active raid1 sda2[0] sdb2[1]
312312700 blocks super 1.1 [2/2] [UU]
bitmap: 1/3 pages [4KB], 65536KB chunk
unused devices: <none>
Answer the question
In order to leave comments, you need to log in
The brackets [2] indicate the disk number in the mdraid array. As I understand it, it has end-to-end incrementation throughout the life of this mdX.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question