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

Bug 458262

Summary: sys-fs/lvm2 Failed to find sysfs mount point when starting
Product: Gentoo Linux Reporter: RAPHEAD <raphead>
Component: [OLD] baselayoutAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: agk, cardoe, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description RAPHEAD 2013-02-19 09:58:45 UTC
I have a very up-to date Gentoo server which is initialized by OpenRC and sys-fs/lvm2-2.02.98.

I have some LVs on a secondary disk which I wanted to mount via /etc/fstab.
lvm was rc-updateed to boot.

During boot I noticed that the error by lvm: "Cannot find sysfs mount point" 
Then I saw that lvm is starting before sysfs.
I fixed it by putting this into /etc/rc.conf:

rc_lvm_need="udev"

Because it also depende on udev.

I think this dependency should be built into the init script of lvm.
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-02-02 19:51:28 UTC
InCVS 2.02.105-r2