mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Miquel van Smoorenburg" <miquels@cistron.nl>
To: linux-kernel@vger.kernel.org
Subject: Re: partitionable md devices and partition detection
Date: Wed, 7 Jul 2004 12:24:26 +0000 (UTC)	[thread overview]
Message-ID: <ccgq1q$sht$1@news.cistron.nl> (raw)
In-Reply-To: <16619.35060.821865.570842@cse.unsw.edu.au>

In article <16619.35060.821865.570842@cse.unsw.edu.au>,
Neil Brown  <neilb@cse.unsw.edu.au> wrote:
>On Wednesday July 7, chutz@gg3.net wrote:
>> What is the proper way to detect the partitions on a md device during kernel
>> initialization?
>> The real problem I am facing is that I cannot boot my root partition, which is
>> on /dev/md_d0p1, without using an initrd. The kernel complains that the device
>> md_d0p1 does not exist.
>
>Hmm... I guess there isn't.
>I remember having a lot of trouble getting partitions to be recognised
>when an array is first assembled, and deciding it was just easier to
>leave it to user-space.  However that isn't an option when booting
>without an initrd.

That's weird. It has been working for me out of the box.

>The following patch should make it work for the
>  md=d0,....
>case.

So the fact that it works for me is a freak accident?

I have this in lilo.conf:

append="md=d0,/dev/sda,/dev/sdb root=/dev/md_d0p1 "

and this is dmesg:

md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
md: Loading md_d0: /dev/sda
md: bind<sda>
md: bind<sdb>
raid1: raid set md_d0 active with 2 out of 2 mirrors
 md_d0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 >
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.

Mike.


  parent reply	other threads:[~2004-07-07 12:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-07  4:59 Georgi Georgiev
2004-07-07  5:24 ` Neil Brown
2004-07-07 11:21   ` Georgi Georgiev
2004-07-07 12:24   ` Miquel van Smoorenburg [this message]
2004-07-12  3:36     ` Georgi Georgiev

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='ccgq1q$sht$1@news.cistron.nl' \
    --to=miquels@cistron.nl \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®