[linux-lvm] Question on compatibility with 2.6.31 kernel.

Charles Marcus CMarcus at Media-Brokers.com
Sat Sep 19 18:20:19 UTC 2009


On 9/18/2009, Ben Greear (greearb at candelatech.com) wrote:
> > I recently tried to boot 2.6.31 on Fedora 8, and it couldn't
> > find the volume groups.  The same kernel works fine on F11.
> 
> try to recompile kernel with
> CONFIG_SYSFS_DEPRECATED=y
> CONFIG_SYSFS_DEPRECATED_V2=y
> 
> (old lvm will not understand new sysfs design, this should
> provide old sysfs entries) 

I'm also an lvm newbie, and since I'll obviously be running into this
sometime soon...

If lvm2 is updated first (before the kernel), I'm assuming it would
still be backward compatible with older kernels?

Or, if I updated the kernel first and compiled it with the above
options, when lvm2 gets updated, will I need to recompile the kernel
with the above options disabled before the next reboot?

Thanks,

-- 

Best regards,

Charles




More information about the linux-lvm mailing list