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"
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
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.
uhh, no it isnt ... raid works perfectly fine without dm
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.
i'm talking about software raid ... you dont need dm for software raid