From: Michael Evans <mjevans1983@gmail.com>
To: Leslie Rhorer <lrhorer@satx.rr.com>
Cc: linux-raid@vger.kernel.org
Subject: Re: Booting from RAID1
Date: Sat, 19 Dec 2009 22:43:45 -0800 [thread overview]
Message-ID: <4877c76c0912192243x5d7281begc9a94242d476a20f@mail.gmail.com> (raw)
In-Reply-To: <E7.83.01470.A77BD2B4@cdptpa-omtalb.mail.rr.com>
On Sat, Dec 19, 2009 at 9:34 PM, Leslie Rhorer <lrhorer@satx.rr.com> wrote:
>
> Hey, everyone,
>
> It's me again. Well, while I am still going to keep small offline
> drive backups for my boot drives on the servers, I have decided to replace
> the very small boot drives with some slightly larger RAID1 arrays. To that
> end, I've looked around the web for some good advice, and the best I have
> found matching my system configuration seems to be this howto:
>
> http://www.linuxhowtos.org/System/raid.htm
>
> I am a little unsure of one section, however. In the section he
> labels "Fix up initrd" he is suggesting I change the initrd in order to
> allow booting from an md array rather than a sata drive. I thought all 2.6
> kernels supported booting from an array directly ( No? ). Also, both of
> these systems will have one PATA drive and one SATA ( seen as a "SCSI"
> /dev/sdx drive ) drive in the RAID 1 arrays. Does that make a difference?
>
> I will have three RAID 1 arrays: MD1 containing /boot on the first
> partition, MD2 containing / on the second partition, and MD3 containing the
> swap on the third partition of both drives. One of the systems will also
> have an NTFS partition on each drive for booting Windows - rarely used. I
> will be using grub as the bootloader.
>
> Any further advice?
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-raid" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
Advice point 1; read my howto: http://wiki.tldp.org/LVM-on-RAID If
you see anything that doesn't work, let me know so I can fix it.
Advice point 2; which my howto should mention: For boot devices you'll
probably want to use the 1.0 mdadm label format (not 1.1 or 1.2, which
are the same but change where the label is stored) for just the boot
raid 1.0 only. It will also mention some things you should be extra
careful about...
Like mounting the bare devices in that raid set by mistake.
Oh, and you'll also very likely want grub to read the /boot
filesystem, which is why it must be on a partition followed by the
raid header, instead of a partition containing a raid header and raid
protected partition. That use is OK since grub operates read-only.
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-12-20 6:43 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-20 5:34 Booting from RAID1 Leslie Rhorer
2009-12-20 6:43 ` Michael Evans [this message]
2009-12-20 7:07 ` Leslie Rhorer
2009-12-21 13:15 ` Goswin von Brederlow
[not found] <4877c76c0912200115q4c91512cj119ff23f7d662d16@mail.gmail.com>
2009-12-20 15:37 ` Leslie Rhorer
2009-12-21 0:39 ` Michael Evans
2009-12-23 8:21 ` Leslie Rhorer
2009-12-23 18:05 ` Leslie Rhorer
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=4877c76c0912192243x5d7281begc9a94242d476a20f@mail.gmail.com \
--to=mjevans1983@gmail.com \
--cc=linux-raid@vger.kernel.org \
--cc=lrhorer@satx.rr.com \
/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).