All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wojciech Pyczak <nissarin@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: LVM & RAID10
Date: Wed, 03 Dec 2008 23:32:25 +0100	[thread overview]
Message-ID: <493708F9.4000704@gmail.com> (raw)
In-Reply-To: <ca0f59980811241852o7d2dc289i38bbcaee59f6bdf9@mail.gmail.com>


>> (...)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.
>
>    

I played a bit when I had free time and...
  - I learned to ignore grub error messages :D
  - RAID10 seems to work OK
  - LVM @ RAID10 @ single partition (on each disk) results in above 
error message but if I add small partition (so there are 2 partitions 
per disk) there is no error. I tried with different number of LVs, 
different LV names, anything.. could it be some error in grub after all ?

     Anyway even if there is no such error grub doesn't work - it appers 
that core.img doesn't include LVM module (I tried to specify it 
manually) or just doesn't install at all, of course grub-setup return 
some error (unknown root device or something..) but in the other hand I 
saw the same error with root filesystem on RAID device and it actually 
worked.
     There is also another problem: when I installed grub on single HD 
with LVM module in core.img, I couldn't see any LVM devices in the 
system (only hdX, mdX..), I saw something similar on some mailing list 
(debian ?) - removing LVM module then inserting it again fixed that 
problem, however in my case it didn't worked.
     I'm thinking about installing grub by hand, i.e. creating core.img 
and copying it along with boot.img after mbr,  will that work ? (I just 
want to bypass grub-setup).

>
> 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.
>    
Just curiosity - why it's in separate modules ?




  reply	other threads:[~2008-12-03 22:32 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
2008-12-03 22:32   ` Wojciech Pyczak [this message]
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=493708F9.4000704@gmail.com \
    --to=nissarin@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.