From: Phil Turmel <philip@turmel.org>
To: Ron Leach <ronleach@tesco.net>,
Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Re: If separate md for /boot, OS, and /srv, must 'create' on disks with 3 partns?
Date: Mon, 20 Jan 2014 13:29:52 -0500 [thread overview]
Message-ID: <52DD6B20.5030906@turmel.org> (raw)
In-Reply-To: <52DD5471.4070809@tesco.net>
On 01/20/2014 11:53 AM, Ron Leach wrote:
> On 19/01/2014 20:46, Phil Turmel wrote:
>> On 01/19/2014 01:39 PM, Ron Leach wrote:
>>> Assuming I am correct in needing something such as:
>>>
>>> /dev/md0 for Grub, (and copied to both physical disks of the RAID-1)
>>> /dev/md1 for the OS, and
>>
>> I would use LVM here, too.
>
> I wondered. Would also enable me to reserve much less space for the OS
> and one or two small services that might be run there. I'll read up on
> Grub over LVM, which is the only thing I'm not familiar with.
Let me clarify: /dev/md0 should be a v0.90 or v1.0 raid1 for /boot, no LVM.
/dev/md1 is an LVM PV for the OS.
> Thanks for the guidance, and for confirming that separate RAID1s does
> imply separate partitions on the physical devices. I've noted your (and
> David's, in another post) concerns about bandwidth and RAM. I'll look
> into booting into the LVM, that's new to me.
The key is to have both MD and LVM support in your initramfs that gets
loaded by grub with your kernel. All the major distributions will do
this for you if you create the OS on LVM in the first place.
They'll usually let grub find your root filesystem UUID and put it into
the kernel command line. You can override that with an explicit
root=LABEL= or root=UUID= setting in /etc/default/grub.
Having root in an LVM allows strange things like relocating and/or
resizing it on the fly. Particularly handy if physical access is difficult.
HTH,
Phil
next prev parent reply other threads:[~2014-01-20 18:29 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-19 18:39 If separate md for /boot, OS, and /srv, must 'create' on disks with 3 partns? Ron Leach
2014-01-19 20:46 ` Phil Turmel
2014-01-19 21:29 ` David Brown
2014-01-20 16:53 ` Ron Leach
2014-01-20 18:29 ` Phil Turmel [this message]
2014-01-20 19:07 ` Ron Leach
2014-01-21 8:02 ` Wilson Jonathan
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=52DD6B20.5030906@turmel.org \
--to=philip@turmel.org \
--cc=linux-raid@vger.kernel.org \
--cc=ronleach@tesco.net \
/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).