[CentOS] Software RAID1 issue

Wed Dec 27 16:10:20 UTC 2006
Gerald Waugh <gwaugh at frontstreetnetworks.com>

When a new system CentOS-4.4 is built the swap partition is always
reversed...
Note md3 below, the raidtab is OK, I have tried various raid commands to
correct.
  swapoff -a
  raidstop /dev/md3
  mkraid /dev/md3 --really-force
  swapon -a
And then I get a proper ourput for /proc/mdstat,
but when I reboot /proc/mdstat again reads as below, with md3 [0] [1]
reversed.

[root]# cat /proc/mdstat
Personalities : [raid1]
md3 : active raid1 hda3[0] hdc3[1]
      1000320 blocks [2/2] [UU]

md1 : active raid1 hdc1[1] hda1[0]
      1953408 blocks [2/2] [UU]

md2 : active raid1 hdc2[1] hda2[0]
      1953408 blocks [2/2] [UU]

md5 : active raid1 hdc5[1] hda5[0]
      1953408 blocks [2/2] [UU]

md6 : active raid1 hdc6[1] hda6[0]
      71295232 blocks [2/2] [UU]

unused devices: <none>