Thread (6 messages) 6 messages, 3 authors, 2010-03-16

Re: Why do arrays start without some components?

From: Simon Matthews <hidden>
Date: 2010-03-15 21:26:52

On Mon, Mar 15, 2010 at 2:04 PM, Asdo [off-list ref] wrote:
Simon Matthews wrote:
quoted
I have a couple of machines on which this is happening now --

When the machine boots, the RAID arrays (RAID 1) start, but each array
only has one component device. I can add the other component again
(using mdadm --add ... ) and the array will sync up, but next time it
boots, I have to do the same once more.

Why is this and how do I fix it?
Might that be a /etc/mdadm/mdadm.conf in the initramfs listing fewer devices
than it should?
I am not sure (because in this case maybe it shouldn't autoassemble the
array at all), but have a look by unpacking your initramfs. If yes, update
it.
I don't have an initramfs. This is a Gentoo system and I built the
kernel with all the drivers required to boot built in. This includes
RAID support.
Or could that be a controller that shows the disks to the kernel too late...
do you have multiple controllers?
I don't think so, on one machine they are SATA drives, but only one controller.

But, perhaps on the other machine, this may be happening, since the
drive that includes the component that is left out of the array is on
an add-in controller. On this machine, the problematic array uses IDE
drives for its components.

Simon
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help