From: NeilBrown <neilb@suse.de>
To: Adam Talbot <ajtalbot1@gmail.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID partitions, or RAID disks and partition array?
Date: Sat, 23 Aug 2014 11:18:47 +1000 [thread overview]
Message-ID: <20140823111847.724eabe2@notabene.brown> (raw)
In-Reply-To: <CAH_2Ghc3tW4rD_iS7LO47ot6xURJq-RTrEyd3Z-swN2vA=4pPA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1136 bytes --]
On Fri, 22 Aug 2014 09:52:11 -0700 Adam Talbot <ajtalbot1@gmail.com> wrote:
> I hope this is an easy one. I have two drives I would like to mirror
> as my boot drive.
> 1) Should I mirror the drives, then partition the RAID device (md0)?
> 2) Should I partition the the drives then RAID the partitions?
>
> What is the best practice, and why?
I always do '1'. I use 1.0 metadata so each drive can be used by itself quite
apart from RAID, or can be part of the array.
Boot sectors etc are mirrored so you don't need to be sure that grub writes
to both devices or whatever.
However this is "my" practice rather than "best" practice. It is entirely
possible that grub might try to be too clever, see a RAID1 and want to do
something to the underlying drives - and then fail when they look wrong.
Ultimately this is a question about how your distro is configured and how
your boot loader works much more than it is a question about md/raid.
Once you choose a distro, you should see what that distro recommends and do
that, because that is the only configuration you can hope to get support for.
NeilBrown
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 828 bytes --]
next prev parent reply other threads:[~2014-08-23 1:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-22 16:52 RAID partitions, or RAID disks and partition array? Adam Talbot
2014-08-22 17:28 ` Piergiorgio Sartor
2014-08-22 17:30 ` Adam Talbot
2014-08-22 18:34 ` Chris Murphy
2014-08-23 1:18 ` NeilBrown [this message]
2014-08-23 22:20 ` Adam Talbot
2014-08-24 10:53 ` David 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=20140823111847.724eabe2@notabene.brown \
--to=neilb@suse.de \
--cc=ajtalbot1@gmail.com \
--cc=linux-raid@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