From: Phillip Susi <psusi@cfl.rr.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Neil Brown <neilb@suse.de>,
linux-raid@vger.kernel.org, John Sheu <john.sheu@gmail.com>
Subject: Re: Software RAID and Fakeraid
Date: Mon, 31 Jan 2011 11:44:07 -0500 [thread overview]
Message-ID: <4D46E6D7.2000205@cfl.rr.com> (raw)
In-Reply-To: <4D01328D.9050503@cfl.rr.com>
I know you went on vacation over the new year, but it has been about two
months now so I figured I would try to revive this conversation.
Having collected my thoughts, this is what I propose:
I believe that right now, grub recognizes an md device that is built on
partitions, and installs to the underlying disks. When the device is
built on the whole disks, it needs to divide into two categories:
1) Native md metadata. Grub should ask mdadm for a suitable location
to embed the core image on each component disk. This can be satisfied
with a 32kb area at the end ( or maybe the beginning ) of the disk that
is not used by the array ( or the metadata ). This will work for all
native formats except for 1.1, for the obvious reason that it is using
the boot block.
2) Other metadata formats. Either assume or explicitly be told by
mdadm that these formats are fakeraid and thus understood by the bios
int 13. Grub installs to the array as a whole, just like it does today
when they are handled by dmraid. If it is known that it is not bios
supported, then error out. In the future this could be supported by
creating additional grub modules that understand those metadata formats.
One question that needs answered for method 1 is what should the
partition table look like? Should grub, or maybe mdadm, create a
protective mbr when using the whole disk, similar to the one used with GPT?
next prev parent reply other threads:[~2011-01-31 16:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-25 10:26 Software RAID and Fakeraid John Sheu
2010-11-30 19:54 ` Phillip Susi
2010-11-30 22:25 ` Neil Brown
2010-12-02 22:13 ` Phillip Susi
2010-12-03 1:36 ` Neil Brown
2010-12-03 3:15 ` Phillip Susi
2010-12-08 22:43 ` Neil Brown
2010-12-09 19:48 ` Phillip Susi
2011-01-31 16:44 ` Phillip Susi [this message]
2011-01-31 17:03 ` Lennart Sorensen
2011-01-31 19:21 ` Phillip Susi
2011-01-31 22:12 ` Lennart Sorensen
2011-02-01 1:31 ` Phillip Susi
2011-02-01 11:04 ` Michal Suchanek
2011-02-01 16:26 ` Lennart Sorensen
2011-02-02 0:08 ` Phillip Susi
2011-02-02 3:22 ` NeilBrown
2011-02-02 15:34 ` Phillip Susi
2011-02-02 16:09 ` hansbkk
2010-12-04 4:34 ` Leslie Rhorer
2010-12-07 17:21 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-12-25 19:55 ` Vladimir 'φ-coder/phcoder' Serbinenko
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=4D46E6D7.2000205@cfl.rr.com \
--to=psusi@cfl.rr.com \
--cc=grub-devel@gnu.org \
--cc=john.sheu@gmail.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).