Gentoo Archives: gentoo-amd64

From: Chris S <taskara@××××××××××××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Root on Raid and LVM
Date: Mon, 31 Oct 2011 03:57:00
Message-Id: 433F3135.5080708@internode.on.net
1 Greetings,
2
3 This is not an really an AMD64 issue, although the system is an nForce4
4 SLI with nv sata.
5
6 In short, I'm trying to get my Gentoo system built on an lvm group on
7 top of raid5, but it won't go.
8
9 I am using a genkernel --lvm2 created initrd but when it searches for
10 raid volumes it find nothing! (I did also have --dmraid but I think
11 that's for those "sudo hardware" onboard raid controllers)
12 However, if I boot to the kernel directly without an initrd, it DOES
13 find the raid devices (but then fails, naturally, because it can't find
14 lvm volumes).
15
16 Essentially I have:
17 sda5, b5, c5, d5 all on a linux software raid 5 array (/dev/md5) -
18 partition types are all "fd".
19 I then have an lvm group called "system" under that, and then volumes
20 "slash" and "home" under that.
21
22 Have tried 2.6.13 gentoo-sources and 2.6.14 mm-sources.
23
24 I've read about a new bootloader option, lvmraid, but I have yet to try
25 adding "lvmraid=/dev/md5" to grub's kernel line.
26 However, it seems strange that the initrd is not picking up the raid
27 devices.
28
29 Any thoughts?
30
31 Cheers,
32 -c
33 --
34 gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] Root on Raid and LVM Chris Smart <taskara@××××××××××××.net>