I'm running into a bit of a hiccup with my RAID setup. I have several 
mirrored partitions between sda (SATA) and hda (ATA). Everything appears 
to be setup and mirroring correctly but upon reboot, only the sda 
partitions are added to the array. I can re-add the hda partitions 
manually and after syncing, they're back up and running like champs.

What documentation I've been able to find is a little confusing, some 
saying that the arrays should be detected and joined automatically and 
others saying about generating /etc/mdadm.conf. Basically, I think I'm 
missing a step somewhere and would appreciate a pointer of where to look.

My /proc/mdstat

Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] 
[raid4] [multipath]
md1 : active raid1 hda2[0] sda2[1]
      3911744 blocks [2/2] [UU]

md2 : active raid1 hda3[0] sda3[1]
      19542976 blocks [2/2] [UU]

md3 : active raid1 hda5[2] sda5[1]
      19542976 blocks [2/1] [_U]
        resync=DELAYED

md4 : active raid1 hda6[2] sda6[1]
      44909568 blocks [2/1] [_U]
      [==============>......]  recovery = 74.4% (33447744/44909568) 
finish=5.8min speed=32872K/sec

md0 : active raid1 hda1[0] sda1[1]
      9775424 blocks [2/2] [UU]

unused devices: <none>


My /etc/mdamd.conf:

ARRAY /dev/md0 level=raid1 num-devices=2 
UUID=4af5daa4:22389585:d9103357:57806d39
ARRAY /dev/md1 level=raid1 num-devices=2 
UUID=480914ac:65866a5c:c66b0b7e:130bc07e
ARRAY /dev/md2 level=raid1 num-devices=2 
UUID=0e594352:8a396271:c97b942c:c1fce2eb
ARRAY /dev/md3 level=raid1 num-devices=2 
UUID=7dc8131d:bf841572:9a1061fa:561dedd2
ARRAY /dev/md4 level=raid1 num-devices=2 
UUID=12d89ac5:5d61f6ce:5e5817ab:fc188d57

 From dmesg (No mention of hda)

md: Autodetecting RAID arrays.
md: autorun ...
md: considering sda6 ...
md:  adding sda6 ...
md: sda5 has different UUID to sda6
md: sda3 has different UUID to sda6
md: sda2 has different UUID to sda6
md: sda1 has different UUID to sda6
md: created md4
md: bind<sda6>
md: running: <sda6>
raid1: raid set md4 active with 1 out of 2 mirrors
md: considering sda5 ...
md:  adding sda5 ...
md: sda3 has different UUID to sda5
md: sda2 has different UUID to sda5
md: sda1 has different UUID to sda5
md: created md3
md: bind<sda5>
md: running: <sda5>
raid1: raid set md3 active with 1 out of 2 mirrors
md: considering sda3 ...
md:  adding sda3 ...
md: sda2 has different UUID to sda3
md: sda1 has different UUID to sda3
md: created md2
md: bind<sda3>
md: running: <sda3>
raid1: raid set md2 active with 1 out of 2 mirrors
md: considering sda2 ...
md:  adding sda2 ...
md: sda1 has different UUID to sda2
md: created md1
md: bind<sda2>
md: running: <sda2>
raid1: raid set md1 active with 1 out of 2 mirrors
md: considering sda1 ...
md:  adding sda1 ...
md: created md0
md: bind<sda1>
md: running: <sda1>
raid1: raid set md0 active with 1 out of 2 mirrors
md: ... autorun DONE.



Thanks

Rich

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to nlug-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to