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

Bug 7080

Summary: checkfs tests for valid dir /proc/lvm for activating LVM
Product: Gentoo Linux Reporter: Roland Stadtmueller <roland.stadtmueller>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED FIXED    
Severity: major CC: kevin, mholzer, squeeze, vapier
Priority: High    
Version: 1.3   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Roland Stadtmueller 2002-08-26 16:38:33 UTC
Hi,  
/etc/init.d/checkfs tests for [ -x /sbin/vgscan -a -d /proc/lvm ]. When using  
LVM as module, this will fail causing strange errors, as the lvm-mod is not 
loaded yet and did not create an /proc/lvm entry. Executing /sbin/vgscan will 
force the kernel to load lvm-mod.o all by itself, so testing and executing 
/sbin/vgscan should be enough. 
 
Have fun, 
  Roland
Comment 1 SpanKY gentoo-dev 2002-08-27 00:58:24 UTC
being handled on gentoo-dev@gentoo.org right now ... fix should be out soon
Comment 2 SpanKY gentoo-dev 2002-08-27 09:28:27 UTC
*** Bug 7114 has been marked as a duplicate of this bug. ***
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-08-30 15:16:14 UTC
Fix is already in CVS.  Just add

-------------------------------cut--------------------------------
	# Load LVM modules if needed
	/sbin/modprobe -a lvm-mod &>/dev/null || :
------------------------------------------------------------------

before that line for now.
Comment 4 SpanKY gentoo-dev 2002-09-05 14:30:12 UTC
bug has been fixed, closing bug