From: Moshe Yudkowsky <moshe@pobox.com>
To: Neil Brown <neilb@suse.de>
Cc: linux-raid@vger.kernel.org
Subject: Re: In this partition scheme, grub does not find md information?
Date: Tue, 29 Jan 2008 05:02:57 -0600 [thread overview]
Message-ID: <479F07E1.7060408@pobox.com> (raw)
In-Reply-To: <18334.46306.611615.493031@notabene.brown>
Neil, thanks for writing. A couple of follow-up questions to you and the
group:
Neil Brown wrote:
> On Monday January 28, moshe@pobox.com wrote:
>> Perhaps I'm mistaken but I though it was possible to do boot from
>> /dev/md/all1.
>
> It is my understanding that grub cannot boot from RAID.
Ah. Well, even though LILO seems to be less classy and in current
disfavor, can I boot RAID10/RAID5 from LILO?
> You can boot from raid1 by the expedient of booting from one of the
> halves.
One of the puzzling things about this is that I conceive of RAID10 as
two RAID1 pairs, with RAID0 on top of to join them into a large drive.
However, when I use --level=10 to create my md drive, I cannot find out
which two pairs are the RAID1's: the --detail doesn't give that
information. Re-reading the md(4) man page, I think I'm badly mistaken
about RAID10.
Furthermore, since grub cannot find the /boot on the md drive, I deduce
that RAID10 isn't what the 'net descriptions say it is.
> A common approach is to make a small raid1 which contains /boot and
> boot from that. Then use the rest of your devices for raid10 or raid5
> or whatever.
Ah. Ny understanding from a previous question to this group was that
using one partition of the drive for RAID1 and the other for RAID5 would
(a) create inefficiencies in read/write cycles as the two different md
drives maintained conflicting internal tables of the overall physical
drive state and (b) would create problems if one or the other failed.
Under the alternative solution (booting from half of a raid1) since I'm
booting from just one of the halves or the raid1, I would have to set up
grub on both halves. If one physical drive fails, grub would fail over
to the next device.
(My original question was prompted by my theory that multiple RAID5s,
built out of different partitions, would be faster than a single large
drive -- more threads to perform calculations during writes to different
parts of the physical drives.)
>> Am I trying to do something that's basically impossible?
>
> I believe so.
If the answers above don't lead to a resolution, I can create two RAID1
pairs and join them using LVM. I would take a hit by using LVM to tie
the pairs intead of RAID0, I suppose, but I would avoid the performance
hit of multiple md drives on a single physical drive, and I could even
run a hot spare through a sparing group. Any comments on the performance
hit -- is raid1L a really bad idea for some reason?
--
Moshe Yudkowsky * moshe@pobox.com * www.pobox.com/~moshe
"It's a sobering thought, for example, to realize that by the time
he was my age, Mozart had been dead for two years."
-- Tom Lehrer
next prev parent reply other threads:[~2008-01-29 11:02 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-29 4:44 In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29 5:08 ` Neil Brown
2008-01-29 11:02 ` Moshe Yudkowsky [this message]
2008-01-29 11:14 ` Peter Rabbitson
2008-01-29 11:29 ` Moshe Yudkowsky
2008-01-29 14:09 ` Michael Tokarev
2008-01-29 14:07 ` Michael Tokarev
2008-01-29 14:47 ` Peter Rabbitson
2008-01-29 15:13 ` Michael Tokarev
2008-01-29 15:41 ` Peter Rabbitson
2008-01-29 16:51 ` Michael Tokarev
2008-01-29 17:51 ` Keld Jørn Simonsen
2008-01-29 16:16 ` Moshe Yudkowsky
2008-01-29 16:34 ` Peter Rabbitson
2008-01-29 19:34 ` Moshe Yudkowsky
2008-01-29 20:21 ` Keld Jørn Simonsen
2008-01-29 22:14 ` Moshe Yudkowsky
2008-01-29 23:45 ` Bill Davidsen
2008-01-30 0:13 ` Moshe Yudkowsky
2008-01-30 22:36 ` Bill Davidsen
2008-01-30 0:17 ` Keld Jørn Simonsen
2008-01-29 23:44 ` Bill Davidsen
2008-01-30 0:22 ` Keld Jørn Simonsen
2008-01-30 0:26 ` Peter Rabbitson
2008-01-30 22:39 ` Bill Davidsen
2008-01-30 0:32 ` Moshe Yudkowsky
2008-01-30 0:53 ` Keld Jørn Simonsen
2008-01-30 1:00 ` Moshe Yudkowsky
2008-01-31 14:40 ` Bill Davidsen
2008-01-30 13:11 ` Michael Tokarev
2008-01-30 14:10 ` Moshe Yudkowsky
2008-01-30 14:41 ` Michael Tokarev
2008-01-31 14:59 ` Bill Davidsen
2008-02-02 20:17 ` Bill Davidsen
2008-01-30 12:01 ` Peter Rabbitson
2008-01-29 16:42 ` Michael Tokarev
2008-01-29 16:26 ` Keld Jørn Simonsen
2008-01-29 16:46 ` Michael Tokarev
2008-01-29 18:01 ` Keld Jørn Simonsen
2008-01-30 13:37 ` Michael Tokarev
2008-01-30 14:47 ` Peter Rabbitson
2008-01-30 15:21 ` Keld Jørn Simonsen
2008-01-30 15:35 ` Peter Rabbitson
2008-01-30 15:46 ` Loop devices to RAID? (was Re: In this partition scheme, grub does not find md information?) Moshe Yudkowsky
2008-01-30 15:56 ` Tim Southerwood
2008-01-29 15:57 ` In this partition scheme, grub does not find md information? Moshe Yudkowsky
2008-01-29 16:37 ` Keld Jørn Simonsen
2008-01-29 16:57 ` Michael Tokarev
2008-01-30 11:03 ` David Greaves
2008-01-30 11:44 ` Moshe Yudkowsky
2008-01-30 12:00 ` WRONG INFO (was Re: In this partition scheme, grub does not find md information?) Peter Rabbitson
2008-01-30 12:41 ` David Greaves
2008-01-30 13:39 ` Michael Tokarev
2008-02-04 16:49 ` In this partition scheme, grub does not find md information? John Stoffel
2008-02-04 17:26 ` Michael Tokarev
2008-01-30 11:03 ` David Greaves
2008-01-29 14:48 ` Keld Jørn Simonsen
2008-01-29 16:00 ` Moshe Yudkowsky
2008-01-29 16:25 ` Peter Rabbitson
2008-01-29 14:04 ` Keld Jørn Simonsen
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=479F07E1.7060408@pobox.com \
--to=moshe@pobox.com \
--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).