My software RAID1 arrays (/boot, /) always become degraded when restarted after adding SATA controller. It's CentOS 7. Here is what happening and what had been done:
- I made 4-disks RAID1 arrays with following setup: SATA Controller A (-HDD1 / -HDD2) + SATA Controller B (-HDD3 / -HDD4)
- There is a problem with Cont-A so I added another one, Cont-C, and moved HDD1/2 from Cont-A to Cont-C. So, the setup became following: Cont-A (none) + Cont-B (-HDD3 / -HDD4) + Cont.C (-HDD1 / -HDD2)
- After this exchange, on every (re)boot, RAID1 arrays always become degraded, only with HDD3/4 active.
- I can re-add HDD1/2 to RAID1 arrays but they again got degraded after reboot, losing HDD1/2.
I doubt this is because CentOS does not see Cont-C (and its subsidiaries HDD1/2) on boot phase as boot sequence stopped about 2 min and HDD1/2 appears on dmesg quite later.
I can boot from HDD1/2 when boot order is set as such (still losing HDD1/2 from RAID1 though), so at least BIOS correctly recognizes Cont-C.
Is there anyway to solve this?