From: Neil Brown <neilb@suse.de>
To: "Mr. James W. Laferriere" <babydr@baby-dragons.com>
Cc: Robin Hill <robin@robinhill.me.uk>, linux-raid@vger.kernel.org
Subject: Re: Linux mdadm superblock question.
Date: Tue, 16 Feb 2010 11:57:37 +1100 [thread overview]
Message-ID: <20100216115737.5abfeed2@notabene.brown> (raw)
In-Reply-To: <alpine.LNX.2.01.1002121247280.3504@filesrv1.baby-dragons.com>
On Fri, 12 Feb 2010 12:53:53 -0900 (AKST)
"Mr. James W. Laferriere" <babydr@baby-dragons.com> wrote:
> Hello Robin ,
>
> On Fri, 12 Feb 2010, Robin Hill wrote:
> > On Thu Feb 11, 2010 at 05:52:41PM -0800, Michael Evans wrote:
> >
> >> On Thu, Feb 11, 2010 at 3:00 PM, Justin Piszcz <jpiszcz@lucidpixels.com> wrote:
> >>> Hi,
> >>>
> >>> I may be converting a host to ext4 and was curious, is 0.90 still the only
> >>> superblock version for mdadm/raid-1 that you can boot from without having to
> >>> create an initrd/etc?
> >>>
> >>> Are there any benefits to using a superblock > 0.90 for a raid-1 boot volume
> >>> < 2TB?
> >>>
> >>> Justin.
> >>
> >> You need the superblock at the end of the partition: If you read the
> >> manual that is clearly either version 0.90 OR 1.0 (NOT 1.1 and also
> >> NOT 1.2; those use the same superblock layout but different
> >> locations).
> >>
> > You also need it to be auto-assembled by the kernel, which is only
> > version 0.90.
> >
> > As for benefits, there's a number of benefits of 1.x over 0.90 - I don't
> > think any of them are terribly important for a small boot partition
> > though. There's also benefits to having an initrd anyway.
> >
> > Cheers,
> > Robin
>
> One can use the 'append=""' functionality of lilo & I am user that
> Grub2(and family) has some method of doing the same .
> ie:
> append=" md=1,/dev/sda1,/dev/sdb1,/dev/sdc1,/dev/sdd1 md=2,/dev/sda2,/dev/sdb2,/dev/sdc2,/dev/sdd2 md=3,/dev/sda3,/dev/sdb3 md=4,/dev/sda4,/dev/sdb4 vt.default_utf8=0 sysrq_always_enabled=1"
>
As I said in a previous Email, I do not recommend this. If a device fails
and is removed, then on the next reboot all subsequent device names can
change. So assembling arrays be name is not safe.
> Not sure if this would be usable with a 1.1+ version of the MD headers .
Though yes: it does work with v1.x metadata.
>
> I'd really like to see a REAL case that shows a good example of the use
> of initrd that absolutely can NOT be done only because of someones
> unwillingness to create it in the kernel or to allow others too .
Sure, anything can be done in the kernel. It doesn't follow that everything
should be done in the kernel.
There are number of corner cases that can make assembling md arrays messy.
Most of these cases never happen for most people, but I still want to handle
them as robustly as possible.
I would rather do that just in mdadm, not in the kernel.
NeilBrown
next prev parent reply other threads:[~2010-02-16 0:57 UTC|newest]
Thread overview: 93+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-11 23:00 Linux mdadm superblock question Justin Piszcz
2010-02-12 1:52 ` Michael Evans
2010-02-12 9:06 ` Robin Hill
2010-02-12 21:53 ` Mr. James W. Laferriere
2010-02-16 0:57 ` Neil Brown [this message]
2010-02-16 16:42 ` Bill Davidsen
2010-02-13 19:58 ` H. Peter Anvin
2010-02-13 20:07 ` Justin Piszcz
2010-02-13 20:49 ` david
2010-02-13 21:07 ` Michael Evans
2010-02-13 21:29 ` H. Peter Anvin
2010-02-14 20:25 ` Asdo
2010-02-14 21:18 ` H. Peter Anvin
2010-02-14 21:34 ` Henrique de Moraes Holschuh
2010-02-14 23:20 ` Rudy Zijlstra
2010-02-15 3:40 ` Mr. James W. Laferriere
2010-02-15 7:12 ` Luca Berra
2010-02-16 0:38 ` Neil Brown
2010-02-16 0:27 ` Neil Brown
2010-02-16 1:24 ` H. Peter Anvin
2010-02-16 3:18 ` david
2010-02-16 4:42 ` John Robinson
2010-02-16 7:02 ` H. Peter Anvin
2010-02-16 8:46 ` Rudy Zijlstra
2010-02-16 17:05 ` Bill Davidsen
2010-02-16 23:30 ` H. Peter Anvin
2010-02-16 10:12 ` Giovanni Tessore
2010-02-17 23:10 ` Neil Brown
2010-02-16 3:40 ` CaT
2010-02-13 6:42 ` martin f krafft
2010-02-13 8:37 ` Giovanni Tessore
2010-02-13 9:26 ` Michael Evans
2010-02-13 9:35 ` Giovanni Tessore
2010-02-13 9:40 ` Michael Evans
2010-02-13 10:06 ` Giovanni Tessore
2010-02-16 0:50 ` Neil Brown
2010-02-16 13:14 ` Justin Piszcz
2010-02-16 20:09 ` mdadm FAQ (was: Linux mdadm superblock question.) martin f krafft
2010-02-17 23:11 ` Linux mdadm superblock question Neil Brown
2010-02-16 17:24 ` Bill Davidsen
-- strict thread matches above, loose matches on Subject: below --
2010-02-14 1:51 Volker Armin Hemmann
2010-02-14 4:02 ` Michael Evans
2010-02-14 7:21 ` david
2010-02-14 8:38 ` Michael Evans
2010-02-14 18:40 ` Volker Armin Hemmann
2010-02-14 18:53 ` John Robinson
2010-02-14 21:16 ` Gabor Gombas
[not found] ` <201002142013.24922.volkerarmin@googlemail.com>
2010-02-16 14:28 ` John Robinson
2010-02-16 14:37 ` Volker Armin Hemmann
2010-02-16 14:46 ` Robin Hill
2010-02-16 17:23 ` John Robinson
2010-02-16 19:38 ` Luca Berra
2010-02-16 17:18 ` Bill Davidsen
2010-02-16 21:06 ` Volker Armin Hemmann
2010-02-16 22:00 ` Nick Bowler
2010-02-16 22:18 ` Volker Armin Hemmann
2010-02-17 14:25 ` Nick Bowler
2010-02-18 9:27 ` Ian Dall
2010-02-17 1:03 ` Mr. James W. Laferriere
2010-02-17 2:01 ` Neil Brown
2010-02-17 2:38 ` Volker Armin Hemmann
2010-02-17 23:15 ` Neil Brown
2010-02-17 6:34 ` Kyle Moffett
2010-02-17 9:38 ` Rudy Zijlstra
2010-02-17 13:26 ` Frans Pop
2010-02-17 20:54 ` Gabor Gombas
2010-02-17 21:29 ` Frans Pop
2010-02-18 3:40 ` Goswin von Brederlow
2010-02-17 16:22 ` Kyle Moffett
2010-02-17 17:41 ` david
2010-02-17 18:10 ` Nick Bowler
2010-02-17 18:27 ` Volker Armin Hemmann
2010-02-17 18:37 ` Nick Bowler
2010-02-17 18:41 ` david
2010-02-17 18:51 ` Nick Bowler
2010-02-17 21:17 ` david
2010-02-17 21:37 ` Nick Bowler
2010-02-17 22:21 ` david
2010-02-17 18:46 ` Volker Armin Hemmann
2010-02-17 22:26 ` H. Peter Anvin
2010-02-18 3:33 ` Goswin von Brederlow
2010-02-18 7:51 ` Luca Berra
2010-02-18 14:12 ` Nick Bowler
2010-02-19 9:04 ` Michael Evans
2010-02-14 19:34 ` Henrique de Moraes Holschuh
2010-02-14 20:07 ` Michael Evans
2010-02-14 21:14 ` Henrique de Moraes Holschuh
2010-02-14 20:47 ` Asdo
2010-02-14 21:26 ` Henrique de Moraes Holschuh
2010-02-14 21:28 ` Gabor Gombas
2010-02-15 9:08 ` martin f krafft
2010-02-15 7:51 ` Luca Berra
[not found] <edBWa-K7-9@gated-at.bofh.it>
[not found] ` <edDXX-3XC-7@gated-at.bofh.it>
[not found] ` <edRHA-7bL-13@gated-at.bofh.it>
[not found] ` <eezfA-4N7-11@gated-at.bofh.it>
2010-02-16 21:10 ` Bodo Eggert
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=20100216115737.5abfeed2@notabene.brown \
--to=neilb@suse.de \
--cc=babydr@baby-dragons.com \
--cc=linux-raid@vger.kernel.org \
--cc=robin@robinhill.me.uk \
/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).