I tried a quick reinstall of the OS on my machine still using the two identical S-ATA 160GB drives. This time I the same things as above except I created an extra partition on each drive making it a total of 3 primary partions per disk so /boot where "Grub" is stored would not be a part of the RAID. The partition looks something like this now:
/dev/sda
- dev/sda1 = 512 MB swap space
- dev/sda2 = 1024 MB Ext3 mounted to /boot (bootable enabled)
- dev/sda3 = 158.6 GB RAID Partition
/dev/sdb
- dev/sdb1 = 512 MB swap space
- dev/sdb2 = 1024 MB Ext3 not mounted or used in FSTAB
- dev/sdb3 = 158.6 GB RAID Partition
/dev/md0 = 158.6 GB Ext mounted to /
Now as above the system booted fine and here is what I found in /proc/mdstat
Code:
root@server:/home/cwilliams# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda3[0] sdb3[1]
154794240 blocks [2/2] [UU]
[======>..............] resync = 33.5% (51960256/154794240) finish=2.0min speed=828699K/sec
unused devices: <none>
It appears to be syncing the two devices but none the less both disk show up status and I think I have a functioning RAID1 setup, no?
Do you know why it could not load Grub if I added /boot into the RAID1 /dev/md0 partition?