linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Greaves <david@dgreaves.com>
To: Andre' Breiler <andre.breiler@null-mx.org>, neilb@suse.de
Cc: linux-raid@vger.kernel.org
Subject: Re: [PATCH 000 of 5] md: Introduction
Date: Sat, 21 Jan 2006 00:42:03 +0000	[thread overview]
Message-ID: <43D1835B.1040105@dgreaves.com> (raw)
In-Reply-To: <Pine.LNX.4.33.0601200326590.17229-100000@pegasus.teamwerk.com>

Andre' Breiler wrote:

>Hi,
>
>On Fri, 20 Jan 2006, Reuben Farrelly wrote:
>  
>
>>On 20/01/2006 11:32 a.m., Neil Brown wrote:
>>    
>>
>>>The in-kernel autodetection in md is purely legacy support as far as I
>>>am concerned.  md does volume detection in user space via 'mdadm'.
>>>      
>>>
>>Hrm.  <puzzled look>   How would I then start my md0 raid-1 array that is
>>mounted as the root partition / if I'm not doing this when the kernel is
>>starting up?  Because without it I've got no userspace to actually execute.
>>    
>>
>
>Indeed you won't be able to use a 'plain kernel' anymore but switch to
>kernel + initrd.
>  
>
I understand the anti-autodetect arguments and was easily persuaded by
them...

Can I however suggest  we have autodetect only actually triggers if the
kernel is supplied with the UUID of an md0 as a boot option.
ie: root=/dev/md0 md0=b87a211e:8a9bef34:ccc334d8:f84216d6

I'm not sure I ever saw this proposed during the debate.

It's just *so* nice not to have to bother with initrd (having just moved
to a mirrored root and finding it wonderfully easy to specify
root=/dev/md0 and have it 'just work')

It looks easy enough to add into autorun_devices() in md.c

Maybe then deprecate autodetect more quickly by having it optional in
2.6.17(?) - but if even one UUID *is* specified then no other devices
are autodetected. Eventually having no devices autodetected *unless* a
UUID is specified (for convenience printk the UUIDs of devices that
*are* found just in case you mistype it...)

Please forgive me if I've missed the reason that this is a bad idea.

David

-- 


  reply	other threads:[~2006-01-21  0:42 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-17 21:38 [PATCH 000 of 5] md: Introduction Lincoln Dale (ltd)
2006-01-18 13:27 ` Jan Engelhardt
2006-01-18 23:19   ` Neil Brown
2006-01-19 15:33     ` Mark Hahn
2006-01-19 20:12     ` Jan Engelhardt
2006-01-19 21:22       ` Lars Marowsky-Bree
2006-01-19 22:17     ` Phillip Susi
2006-01-19 22:32       ` Neil Brown
2006-01-19 23:26         ` Phillip Susi
2006-01-19 23:43           ` Neil Brown
2006-01-20  2:17             ` Phillip Susi
2006-01-20 10:53               ` Lars Marowsky-Bree
2006-01-20 12:06                 ` Jens Axboe
2006-01-20 18:38                 ` Heinz Mauelshagen
2006-01-20 22:09                   ` Lars Marowsky-Bree
2006-01-21  0:06                     ` Heinz Mauelshagen
2006-01-20 18:41               ` Heinz Mauelshagen
2006-01-20 17:29             ` Ross Vandegrift
2006-01-20 18:36             ` Heinz Mauelshagen
2006-01-20 22:57               ` Lars Marowsky-Bree
2006-01-21  0:01                 ` Heinz Mauelshagen
2006-01-21  0:03                   ` Lars Marowsky-Bree
2006-01-21  0:08                     ` Heinz Mauelshagen
2006-01-21  0:13                       ` Lars Marowsky-Bree
2006-01-23  9:44                         ` Heinz Mauelshagen
2006-01-23 10:26                           ` Lars Marowsky-Bree
2006-01-23 10:38                             ` Heinz Mauelshagen
2006-01-23 10:45                               ` Lars Marowsky-Bree
2006-01-23 11:00                                 ` Heinz Mauelshagen
2006-01-23 12:54                           ` Ville Herva
2006-01-23 13:00                             ` Steinar H. Gunderson
2006-01-23 13:54                             ` Heinz Mauelshagen
2006-01-23 17:33                               ` Ville Herva
2006-01-24  2:02                             ` Phillip Susi
2006-01-20  7:51         ` Reuben Farrelly
2006-01-20  3:43           ` Andre' Breiler
2006-01-21  0:42             ` David Greaves [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-01-17  6:56 NeilBrown
2006-01-17  8:17 ` Michael Tokarev
     [not found]   ` <fd8d0180601170121s1e6a55b7o@mail.gmail.com>
2006-01-17  9:38     ` Francois Barre
2006-01-19  0:35       ` Neil Brown
2006-01-17  9:50   ` Sander
2006-01-17 11:26     ` Michael Tokarev
2006-01-17 11:37       ` Francois Barre
2006-01-17 14:03       ` Kyle Moffett
2006-01-19  0:28         ` Neil Brown
2006-01-17 16:08       ` Ross Vandegrift
2006-01-17 18:12         ` Michael Tokarev
2006-01-18  8:14           ` Sander
2006-01-18  8:37             ` Brad Campbell
2006-01-18  9:03             ` Alan Cox
2006-01-18 12:46             ` John Hendrikx
2006-01-18 12:51               ` Gordon Henderson
2006-01-18 23:51                 ` Neil Brown
2006-01-19  7:20                   ` PFC
2006-01-19  8:01                     ` dean gaudet
2006-01-18 23:54               ` Neil Brown
2006-01-19  0:22           ` Neil Brown
2006-01-19  9:01             ` Jakob Oestergaard
2006-01-17 22:38       ` Phillip Susi
2006-01-17 22:57         ` Neil Brown
2006-01-17 14:10   ` Steinar H. Gunderson
2006-01-17 15:07 ` Mr. James W. Laferriere
2006-01-19  0:23   ` Neil Brown
2006-01-22  4:42 ` Adam Kropelin
2006-01-22 22:52   ` Neil Brown
2006-01-23 23:02     ` Adam Kropelin
2006-01-23  1:08 ` John Hendrikx
2006-01-23  1:25   ` Neil Brown
2006-01-23  1:54     ` Kyle Moffett
2006-01-23  2:09     ` Mr. James W. Laferriere
2006-01-23  2:33       ` Neil Brown

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=43D1835B.1040105@dgreaves.com \
    --to=david@dgreaves.com \
    --cc=andre.breiler@null-mx.org \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@suse.de \
    /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).