Summary: | Mounting ramfs on /dev (for udev) breaks volumes evms_activated in initrd -> fsck of the root device fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Ari Rahikkala <lighten> |
Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | VERIFIED NEEDINFO | ||
Severity: | minor | CC: | abhishek, alpeterson, andreas.w.simon, eradicator, gregkh, mal |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ari Rahikkala
2004-02-01 03:39:47 UTC
Maybe bug the EVMS guys to get sysfs support added? evms uses dm, which shows up properly in sysfs. So udev can name all dm devices just fine. You can use the following rule in udev.rules to handle dm devices properly: # create a symlink named after the device map name # note devmap_name comes with extras/multipath KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c" Ok, being a total evms noob, I did not know. Thanks! Ill add to our rules. Greg, I prob miss something here - how do you get multipath compiled? I tried to install device-mapper, but no go. Do you need kernel side changes? I do not know, as I have never tried to build it. I'll work on trying to fix that for the next release. It looks like the kernel needs patching for multipath. I found this at http://christophe.varoqui.free.fr/multipath.html : This last policy is the core component of the multipath tool chain. It is not included in the main kernel tree as of linux-2.6.5. It is part of a patchset maintained by Joe Thornber (thornber at redhat dot com) that can be downloaded at http://people.sistina.com/~thornber/dm/ And the README from evms-2.3.2 also states that patches are needed for multipath: Thus, you need to have the appropriate Device-Mapper patches applied to your kernel in order to use multipath. Closing due to lack of interest. Closing due to lack of info. |