If the two disks are shown in the
/proc/scsi/scsi file after following the steps to recover a broken RAID1 array (see appropriate solution for details), but you get the message "
ERROR: Both disks already in array" when you run the command "
/crossbeam/bin/xos-raid-add", please check the output of "
cat /proc/mdstat". It is possible that the RAID rebuild is failing because at least one array is in a good state.
In the following example, the output of "
cat /proc/mdstat" (from a CPM where the raid rebuild was failing) showed that md8 was already in a good state:
[[email protected] /]# cat /proc/mdstat
Personalities : [raid0] [raid1]
read_ahead 1024 sectors
Event: 5
md1 : active raid1 sda1[1]
104320 blocks [2/1] [_U]
md5 : active raid1 sda5[1]
505920 blocks [2/1] [_U]
md6 : active raid1 sda6[1]
1003904 blocks [2/1] [_U]
md7 : active raid1 sda7[1]
8008256 blocks [2/1] [_U]
md8 : active raid1 sda8[1] sda8[0]
28001152 blocks [2/2] [UU] <<------------------ completed RAID status on md8 array