[linux-lvm] Patching a kernel that already has VFS-lock

Rechenberg, Andrew ARechenberg at shermanfinancialgroup.com
Fri Mar 14 05:57:02 UTC 2003


Partick,

That change did the trick.  My snapshots are now mounting.  Thanks for
your help.

Andy.

-----Original Message-----
From: Patrick Caulfield [mailto:caulfield at sistina.com] 
Sent: Thursday, March 13, 2003 3:10 AM
To: linux-lvm at sistina.com
Subject: Re: [linux-lvm] Patching a kernel that already has VFS-lock


On Wed, Mar 12, 2003 at 05:18:35PM -0500, Rechenberg, Andrew wrote:
> Good day,
> 
> I'm trying to upgrade my kernel from LVM 1.0.3 to 1.0.7.  My kernel
with
> 1.0.3 already has the VFS lock pactch installed and all I want to do
is
> upgrade the LVM code because my snapshots are misbehaving.  I should
not
> have to re-patch to get the VFS-lock to work should I?
> 
> The reason I ask is because when I just patch the kernel with LVM
1.0.7
> and reboot all my VG's/LV's come up clean, and I can create snapshots
> but the snapshots do not mount.  I get the:
> 
> mount: wrong fs type, bad option, bad superblock on /dev/flux1/snap,
>        or too many mounted file systems
> 
> error which would indicate to me that the VFS lock is not working with
> my ext3 filesystem.  Does anyone have any ideas on what could be
causing
> this problem?  
> 
> Red Hat kernel source RPM 2.4.18-26
> LVM 1.0.7 from the Sistina FTP site
> 


If you've managed to successfully patch LVM into the kernel (and it
sounds like
you have), all that should be needed to enable VFS-Lock functionality is
to
uncomment the line in lvm.c that reads:

/* #define LVM_VFS_ENHANCEMENT */


to be

#define LVM_VFS_ENHANCEMENT

and rebuild.

patrick


_______________________________________________
linux-lvm mailing list
linux-lvm at sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/




More information about the linux-lvm mailing list