[linux-lvm] FYI - Red Hat 7.2 and LVM module

Andres Salomon dilinger at mp3revolution.net
Wed May 29 10:56:02 UTC 2002


They support it, they just assume it's compiled in.  For LVM2, I had to
add a modprobe dm-mod to the previous line, and comment out the if/fi
lines.

On Wed, May 29, 2002 at 10:32:59AM -0500, Michael K Lambert wrote:
> 
> Hello, all.
> 
> Although RH does not support LVM in 7.2, I've been making use of it by
> compiling my own kernel. The LVM patches will not patch clean on my RH 390
> systems, so we are stuck at version .9.1, but it does work. Just yesterday
> I built a new kernel and compiled LVM as a module for the first time. After
> building the kernel, I rebooted and was surpirsed to see that LVM did not
> initialize. After boot, I could run vgscan manually and lvm would become
> active, but not during boot up.
> 
> After looking into rc.sysinit, I found that for vgscan to run, three
> conditions needed to be met.../sbin/vgscan had to exist, /etc/lvmtab must
> exist, and /proc/lvm must exist. Unfortunately, when lvm is modularized,
> the /proc entry is created whenever the module is loaded, not permanently.
> This causes the rc.sysinit test to fail and LVM is not initialized. Of
> course, it is simple to work around this. I changed rc.sysinit to test for
> /proc/lvm OR the existence of the lvm-mod, and that seemed to work fine.
> This is just an FYI so that others in similar circumstances can avoid any
> confusion.
> 
> Michael Lambert
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 
<dilinger> people fear what they don't understand
<zinx> that is not true
<zinx> most people fear what they don't understand, and the rest get killed
	by those people




More information about the linux-lvm mailing list