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

André Gillibert rcvxdg at gmail.com
Sat Sep 19 22:17:27 UTC 2009


Charles Marcus <CMarcus at Media-Brokers.com> wrote:
> 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?
> 
Yes, I'm almost sure it is. I run a 2.6.30 kernel with CONFIG_SYSFS_DEPRECATED=y and have a relatively recent LVM, and it works well.

> 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?
> 

I don't think so. LVM guys are not evil. :)

-- 
André Gillibert






More information about the linux-lvm mailing list