Grub Development Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bean <bean123ch@gmail.com>
To: "The development of GRUB 2" <grub-devel@gnu.org>
Subject: Re: LVM & RAID10
Date: Tue, 25 Nov 2008 10:52:37 +0800	[thread overview]
Message-ID: <ca0f59980811241852o7d2dc289i38bbcaee59f6bdf9@mail.gmail.com> (raw)
In-Reply-To: <492B500A.8050506@gmail.com>

On Tue, Nov 25, 2008 at 9:08 AM, Wojciech Pyczak <nissarin@gmail.com> wrote:
> Hello!
>
> I have some troubles setting up grub2 on my configuration. After I bought a
> new computer I decided to "go wild" and setup everything on top of LVM, with
> LVM itself on RAID array. I expected there will be some problems and here I
> am :)
>
> Few words about configuration - I have 2x WD 640GB HDDs, there is single
> partition on each drive, those partitions are used to build RAID10 array.
> Aray itself consists of 3 drives (third one is "missing" since I use it in
> my "old" computer), like I mentioned before it's level 10, with 256kB chunks
> and far2 layuout. On top of that there is LVM2, consisting of single
> "storage" group (32MB extents), divided into few logical volumes, including
> volumes named "root" (/) and "boot" (/boot).
>
> I used latest RescueCD to made this up and installed fresh gentoo. I managed
> to build entire system, I only needed to boot it. So, I emerged (using my
> own custom ebuild) Grub2 SVN version (successfully) and tried to make
> everythig work but it appers life is not so easy :P. The only clue I have is
> (completly mysterius to me) error message: "We don't support multiple
> metadata areas".

Hi,

This error come from lvm, perhaps you can try raid10 first.

>
> AFAIK both LVM and RAID10 are supported and it's possible to boot grub from
> LVM volume, am I wrong ?
> Or perhaps I'm missing something ?
> Is there any example of LVM/RAID config files ?
> What happens if array (RAID 5, 6, 10) is incomplete (disk failure/missing) -
> maybe that's the problem ? And in that case, how I'm supposed to boot system
> in such situations ?

Yes, it should work out of the box, although there is a small catch.
If you're using raid5/raid6 and one/two of the disk is missing or
corrupted, you need to add module raid5rec/raid6rec using the --module
option in grub-install.

-- 
Bean



  reply	other threads:[~2008-11-25  2:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-25  1:08 LVM & RAID10 Wojciech Pyczak
2008-11-25  2:52 ` Bean [this message]
2008-12-03 22:32   ` Wojciech Pyczak
2008-12-04  4:38     ` Bean
2008-12-05 21:11       ` Wojciech Pyczak
2009-05-01 18:29         ` Wojciech Pyczak

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=ca0f59980811241852o7d2dc289i38bbcaee59f6bdf9@mail.gmail.com \
    --to=bean123ch@gmail.com \
    --cc=grub-devel@gnu.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