From: Michael Tokarev <mjt@tls.msk.ru>
To: Neil Brown <neilb@suse.de>
Cc: Peb <peb-misc@peeble.net>, linux-raid@vger.kernel.org
Subject: Re: md array numbering is messed up
Date: Mon, 30 Oct 2006 14:15:26 +0300 [thread overview]
Message-ID: <4545DECE.7030705@tls.msk.ru> (raw)
In-Reply-To: <17733.7315.357603.311275@cse.unsw.edu.au>
Neil Brown wrote:
> On Sunday October 29, peb-misc@peeble.net wrote:
>> Hi,
>>
>> I have 2 arrays whose numbers get inverted, creating havoc, when booting
>> under different kernels.
>>
>> I have md0 (raid1) made up of ide drives and md1 (raid5) made up of five
>> sata drives, when booting with my current ubuntu 2.6.12-9 kernel. When I
>> try to boot a more recent kernel (2.6.15-26 or 2.6.15-27) the
>> order is inversed and my sata raid5 array shows up as md0.
>>
>> My arrays are part of evms volumes that just stop working if the
>> numbering is inverted.
>>
>> any clues ?
>
> Your arrays are being started the wrong way.
> Do you have an mdadm.conf that lists the arrays? Can you show us what
> it looked like?
> If not, do you know how the arrays are started in ubuntu?
My guess is that it's using mdrun shell script - the same as on Debian.
It's a long story, the thing is quite ugly and messy and does messy things
too, but they says it's compatibility stuff and continue shipping it.
For the OP, the solution is to *create* mdadm.conf file - in that case
mdrun should hopefully NOT run.
/mjt
next prev parent reply other threads:[~2006-10-30 11:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-29 21:17 md array numbering is messed up Peb
2006-10-29 21:26 ` Neil Brown
2006-10-30 11:15 ` Michael Tokarev [this message]
2006-10-30 11:23 ` Brad Campbell
2006-10-30 11:58 ` dean gaudet
2006-10-30 23:50 ` Peb
2006-10-31 3:06 ` Neil Brown
2006-11-01 20:20 ` Peb
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=4545DECE.7030705@tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@suse.de \
--cc=peb-misc@peeble.net \
/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;
as well as URLs for NNTP newsgroup(s).