From: NeilBrown <neilb@suse.de>
To: Roy Sigurd Karlsbakk <roy@karlsbakk.net>
Cc: Roman Mamedov <rm@romanrm.ru>,
linux-raid <linux-raid@vger.kernel.org>,
Alexander Zvyagin <zvyagin.alexander@gmail.com>
Subject: Re: RAID50 boot problems
Date: Thu, 25 Apr 2013 09:35:40 +1000 [thread overview]
Message-ID: <20130425093540.1a2e8dc2@notabene.brown> (raw)
In-Reply-To: <6325382.2.1366806579476.JavaMail.root@zimbra>
[-- Attachment #1: Type: text/plain, Size: 2108 bytes --]
On Wed, 24 Apr 2013 14:29:39 +0200 (CEST) Roy Sigurd Karlsbakk
<roy@karlsbakk.net> wrote:
> > Sorry, that should be --name, not --path.
>
> roy@raidtest:~$ cat /proc/mdstat
> Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
> md0 : active raid5 vdc[1] vdb[0] vdd[3]
> 2096000 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
>
> md1 : active raid5 vdf[1] vdg[3] vde[0]
> 2096000 blocks super 1.2 level 5, 64k chunk, algorithm 2 [3/3] [UUU]
>
> unused devices: <none>
> roy@raidtest:~$ udevadm info --query=property --name=/dev/md0
.....
> ID_FS_TYPE=linux_raid_member
....
> roy@raidtest:~$ udevadm info --query=property --name=/dev/md1
...
> ID_FS_TYPE=linux_raid_member
....
So that all looks good.
> > Can you put your initrd (or initramfs or whatever Ubuntu calls it)
> > somewhere
> > that I can down load it? Or just email it to me, it's probably only
> > about 10Meg.
>
> Here are the ones for 12.04 x86 and 13.04 amd64. The same happen on both
>
> 12.04 http://karlsbakk.net/tmp/initrd.img-3.2.0-40-generic-pae
> 13.04 http://karlsbakk.net/tmp/initrd.img-3.8.0-19-generic
>
Strangely etc/mdadm/mdadm.conf in the 12.04 image lists the 2 RAID5s and the
RAID0, but the file in 13.04 only lists to 2 RAID5s. I don't think that
makes a difference, but it is strange.
scripts/local-premount/mdadm contains "wait_for_udev" so that should be
enough...
Wait a bit. I just noticed that 64-md-raid.rules only runs
/sbin/mdadm --incremental $tempnode
on ACTION=="add".
The RAID5 arrays aren't ready immediately and you need to catch
ACTION=="change"
Yes, that's horrible and inconsistent but that is life.
It would be worth adding an extra line:
ACTION=="change", RUN+="/sbin/mdadm --incremental $tempnode"
I'm not sure how to do that. Maybe just modify the file in the root
filesystem and run mkinitrd or mkinitramfs or whatever the command is.
Though if that is the problem, then I cannot see what just setting a
rootdelay would help.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2013-04-24 23:35 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAGqvA+t8Nr7D6h35ZKVi5Wa0tF46TQHK_Af_mXO2=ByRjWRQag@mail.gmail.com>
2013-04-17 18:45 ` RAID50 boot problems Alexander Zvyagin
[not found] ` <CAGA4a+GQp1RV_1pA6PBP=dbXV3MHhU74=Mo24xqqjKfWfoWXJA@mail.gmail.com>
2013-04-19 9:40 ` Alexander Zvyagin
2013-04-19 10:35 ` Roy Sigurd Karlsbakk
2013-04-19 10:42 ` Tommy Apel
2013-04-19 10:51 ` Roy Sigurd Karlsbakk
2013-04-19 11:38 ` Alexander Zvyagin
2013-04-19 10:45 ` Roy Sigurd Karlsbakk
2013-04-19 11:45 ` Roman Mamedov
2013-04-19 15:58 ` Roy Sigurd Karlsbakk
2013-04-21 22:10 ` NeilBrown
2013-04-22 11:02 ` Roy Sigurd Karlsbakk
2013-04-23 17:34 ` Roy Sigurd Karlsbakk
2013-04-24 6:52 ` NeilBrown
2013-04-24 11:19 ` Roy Sigurd Karlsbakk
2013-04-24 12:12 ` NeilBrown
2013-04-24 12:29 ` Roy Sigurd Karlsbakk
2013-04-24 20:01 ` Roy Sigurd Karlsbakk
2013-04-24 23:35 ` NeilBrown [this message]
2013-04-24 22:44 ` Dmitrijs Ledkovs
2013-04-24 23:44 ` NeilBrown
2013-04-26 19:10 ` Roy Sigurd Karlsbakk
2013-04-26 19:24 ` Dmitrijs Ledkovs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130425093540.1a2e8dc2@notabene.brown \
--to=neilb@suse.de \
--cc=linux-raid@vger.kernel.org \
--cc=rm@romanrm.ru \
--cc=roy@karlsbakk.net \
--cc=zvyagin.alexander@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox