Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 157479

Summary: evms needs to depend on mdadm
Product: Gentoo Linux Reporter: Neil Katin <gentoo>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Neil Katin 2006-12-07 16:06:27 UTC
I installed evms on a clean install.  I made some evms volumes.  They didn't
show up in /dev/evms, even after a reboot.

After debugging for a while I think the problem is that I didn't have mdadm
installed.  After installing and rebooting my partitions showed up in
/dev/evms.

Perhaps I'm just confused at some higher level, but my conclusion from this is
the evms ebuild should depend on evms, so /lib/rcscripts/addons/raid-start.sh is
called at boot.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 16:50:36 UTC
You are really confused; evms installs its own addon script for udev. You 
most likely have RC_VOLUME_ORDER in /etc/conf.d/rc set improperly. Put evms as the first value there and it should work.
Comment 2 Neil Katin 2006-12-07 18:28:34 UTC
I freely admin that for "bugs" of this class "user confusion" is the most likely
culprit.  However:

things really did start working only after I installed mdadm, both for
finding devices after boot, and for devices appearing in /dev/evms after
saving in evmsn.

My RC_VOLUME_ORDER is completely stock from /etc/conf.d/rc:

RC_VOLUME_ORDER="raid evms lvm dm"

I think this means evms was first when mdadm wasn't installed, and
2nd afterwards.

I appreciate the fast comment, but I don't think that's the problem.

    Neil