From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L4o2c-0004DI-U9 for mharc-grub-devel@gnu.org; Mon, 24 Nov 2008 21:52:42 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4o2b-0004Ck-9c for grub-devel@gnu.org; Mon, 24 Nov 2008 21:52:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4o2Z-0004CO-Om for grub-devel@gnu.org; Mon, 24 Nov 2008 21:52:41 -0500 Received: from [199.232.76.173] (port=47555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4o2Z-0004CJ-Lr for grub-devel@gnu.org; Mon, 24 Nov 2008 21:52:39 -0500 Received: from wa-out-1112.google.com ([209.85.146.177]:25716) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4o2Z-00013D-B4 for grub-devel@gnu.org; Mon, 24 Nov 2008 21:52:39 -0500 Received: by wa-out-1112.google.com with SMTP id n4so2137726wag.26 for ; Mon, 24 Nov 2008 18:52:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=lyABKFsBN50pSIFwVeuO7FHWE8MSsKg/gvd34g73g+4=; b=FLRS/ZcdGIYlGWSqcYvVA2oe52PA5F1dgQP6MePItguvGNcAe1pYdtDZNY+Q4UxsV4 lK6nOEfJYDvQlXeCs/CfjAVBqvLj2JgI5jdV3YjOKU43jqDXgFUKlZuEkd2BbHOdXDdB KlvhsJuA+e2ZBoJgazqT3AUiXKEjdY4qZSA7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ppvs56nbQaH9v5r642u+okJjP9zUUcb5dwA7AzU2s3bO9T33EHCVzLwm47i8Hi/djL HZoiZbj531n2Zmf5k24nG6NRRPGxO6elD0Lg+1ubfaw6MztfPq6kIHPre77vuVimQ8tX Pa7Ffd5Q66QmfkZQa+BlJfoUuoPAmertvYRKE= Received: by 10.114.177.1 with SMTP id z1mr2375185wae.68.1227581557255; Mon, 24 Nov 2008 18:52:37 -0800 (PST) Received: by 10.114.254.8 with HTTP; Mon, 24 Nov 2008 18:52:37 -0800 (PST) Message-ID: Date: Tue, 25 Nov 2008 10:52:37 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <492B500A.8050506@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <492B500A.8050506@gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: LVM & RAID10 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2008 02:52:41 -0000 On Tue, Nov 25, 2008 at 9:08 AM, Wojciech Pyczak 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