Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152823 - Stage 3 bug - /etc/conf.d/rc: RC_VOLUME_ORDER starts in the wrong order
Summary: Stage 3 bug - /etc/conf.d/rc: RC_VOLUME_ORDER starts in the wrong order
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-25 14:59 UTC by Francis Galiegue
Modified: 2006-10-26 14:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francis Galiegue 2006-10-25 14:59:00 UTC
I'm quite new at Gentoo so bear with me...

Downloaded the minimal LiveCD, portage tree and stage3 to install on a new machine, on which there is one ATA disk and a RAID capable VIA SATA chipset with two identical drives plugged in.

Had to download and compile a vanilla 2.16.8.1 kernel to have the chipset supported, but that's not the problem. I also heard about dmraid, unblocked it, emerged it. It worked out of the box running the 2.6.18.1 kernel, but I had to manually do it every reboot.

I tracked this down to two things:
* no dmraid support in RC_VOLUME_ORDER, I took care of this (created the necessary scripts in /lib/rcscripts/addons);
* the order in RC_VOLUME_ORDER is wrong. By default it is:

RC_VOLUME_ORDER="raid evms lvm dm"

But it should be:

RC_VOLUME_ORDER="dm raid evms lvm"

I solved a case on #gentoo about someone who wouldn't see its LVM volumes mounted at boot, and he used md. I told him to put dm before raid in RC_VOLUME_ORDER and the problem was solved. It also solved it for me in the first place. FWIW, with my added dmraid support the variable now looks like this:

RC_VOLUME_ORDER="dm raid dmraid evms lvm"
Comment 1 SpanKY gentoo-dev 2006-10-25 20:14:06 UTC
it depends completely on the end user whether the default order is OK

it is a config file; it's up to you to change it to suit your system
Comment 2 Francis Galiegue 2006-10-26 01:07:21 UTC
I don't agree at all. DM is _necessary_ for RAID, LVM and EVMS to work at all. It therefore SHOULD be the first in the list by default.
Comment 3 SpanKY gentoo-dev 2006-10-26 12:27:36 UTC
uhh, no it isnt ... raid works perfectly fine without dm
Comment 4 Francis Galiegue 2006-10-26 14:16:24 UTC
Well, look at the opening comment. It may Work For You(tm), but it obviously does not for at least two other people, me and the guy I helped out with his - oh...- _software_ _RAID_ (ie, md) problem, which was solved by putting dm before raid.

And anyway, putting it first won't hurt and will work out of the box for more people than the opposite.
Comment 5 SpanKY gentoo-dev 2006-10-26 14:35:38 UTC
i'm talking about software raid ... you dont need dm for software raid