linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: linux-lvm@sistina.com, Andreas Dilger <adilger@turbolinux.com>
Cc: JohnInSD@san.rr.com
Subject: Re: [linux-lvm] Boot with LVM on RAID1 on entire disk
Date: Tue, 27 Feb 2001 18:52:21 +0100	[thread overview]
Message-ID: <01022718522100.00763@lyta> (raw)
In-Reply-To: <200102270207.f1R270O12079@webber.adilger.net>

On Tuesday 27 February 2001 03:07, Andreas Dilger wrote:
> One thing that probably _doesn't_ work is /boot on LVM on MD, just because
> I haven't had a need to do so.  Unless you have unusual requirements,
> you can leave /boot as a partition if you like, or you can fix LILO
> based on the patch I sent.

I suggest the following:
/dev/hda1 - 20M /boot
/dev/hda2 - rest of the disk

Same partitioning for /dev/hdc .

Then make /dev/hda2 and /dev/hdc2 a software RAID mirror which has LVM on top 
(thus leaving the MBR nice and free).

Install the Debian MBR (I'm sure it's available under other names for other 
distributions) on both /dev/hda and /dev/hdc.  It'll load a LILO boot block 
from an active partition on the same drive by default.
Make /dev/hda1 and /dev/hdc1 active using fdisk or the LILO "activate" 
program.
Then after running "lilo" do "cat /dev/hda1 > /dev/hdc1".  At this stage if 
/dev/hda fails then swapping /dev/hdc to /dev/hda should result in a bootable 
system!

I have CC'd John Coffman (current Lilo developer) on this email as I think 
it'll interest him.  Please remove his name from the CC list if you are going 
to make a non-LILO posting.

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

  reply	other threads:[~2001-02-27 17:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-27  4:12 [linux-lvm] XFS & 2.4.2 B. ten Berge
2001-02-26 20:38 ` Jason Walker
2001-02-26 22:09   ` [linux-lvm] Boot with LVM on RAID1 on entire disk Ralph Jennings
2001-02-26 22:35     ` Andreas Dilger
2001-02-27  0:40       ` Ralph Jennings
2001-02-27  2:07         ` Andreas Dilger
2001-02-27 17:52           ` Russell Coker [this message]
2001-02-26 22:38     ` Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
2001-02-26 22:19 Ralph Jennings

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=01022718522100.00763@lyta \
    --to=russell@coker.com.au \
    --cc=JohnInSD@san.rr.com \
    --cc=adilger@turbolinux.com \
    --cc=linux-lvm@sistina.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).