Linux RAID subsystem development
 help / color / mirror / Atom feed
* MD does not wait for drives on start-up with kernels 3.8+
@ 2013-03-30 13:05 Roman Mamedov
  2013-03-31  5:36 ` CoolCold
  0 siblings, 1 reply; 6+ messages in thread
From: Roman Mamedov @ 2013-03-30 13:05 UTC (permalink / raw)
  To: linux-raid

[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]

Hello,

I got a bizzare problem after trying to upgrade from 3.7.10 (which works fine)
to 3.8.3 or 3.9-rc3 (fail in the same way):

It looks like on the newer kernels MD does not wait for all drives to finish
registering before trying to bring up the arrays. As a result, on newer
kernels my arrays always come up with only 5 out of 7 members active.

dmesg 3.7.10:  http://romanrm.ru/dl/mdadm/dmesg37.txt
dmesg 3.9-rc3: http://romanrm.ru/dl/mdadm/dmesg39.txt

As you can see on 3.7.10 drives continue to go online until about 3.89sec
(Hitachi) and 4.26sec (card reader, unrelated), and only THEN, at 5.15sec the
md0 starts; it has all drives and everything is good.

On 3.9-rc3 (and 3.8.3), md0 tries to become active VERY EARLY at 2.64sec of
boot-up!!! Of course missing drives which appear later, and of those, members
of it should have been two Hitachi drives coming up at 3.33sec and 3.87sec.
So it starts degraded with 5 of 7 devices only.

What's up with this? I understand this might be not an md problem but an
udev(?) one; but how do I go about solving this?

-- 
With respect,
Roman

(resending this message since the previous one with largish attachments
didn't seem to make it to the list; also used a different dmesg for 3.7)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-04-24  7:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-30 13:05 MD does not wait for drives on start-up with kernels 3.8+ Roman Mamedov
2013-03-31  5:36 ` CoolCold
2013-04-15  8:45   ` Roman Mamedov
2013-04-15 10:34     ` NeilBrown
2013-04-15 13:11       ` Roman Mamedov
2013-04-24  7:12         ` NeilBrown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox