[linux-lvm] mounting reiserfs snaphost fails

Jon Bendtsen jon+lvm at silicide.dk
Fri Oct 4 08:14:34 UTC 2002


Xavier Montagutelli wrote:
> 
> On Fri, 4 Oct 2002, Jon Bendtsen wrote:
> 
> > "Heinz J . Mauelshagen" wrote:
> > >
> > > Did you put the VFS lock patch in?
> > > You need that to be able to mount snapshots of *journaled* filesystems.
> >
> > Where do i find that patch ?
> > Does 2.4.19 contain it ? does the latest kernel, if 2.4.19 isnt the
> > latest ?
> 
> You will find it under PATCHES/linux-2.4.19-VFS-lock.patch in the LVM
> source archive.

Doing a cvs, i only found these 2 files (and others)

	linux-2.4.18+quota32-VFS-lock.patch
	linux-2.4.18-VFS-lock.patch

nothing for 2.4.19 :/   (whats the difference between those 2 files?)

I did a ./configure in the LVM dir, and a make in the PATCHES dir, and
tried to
apply that patch to a 2.4.19, and a 2.4.18, stock from Linus. They
applied fine
but they did not compile :/
"drivers/md/mddev.o: In function `_proc_read_global':
drivers/md/mddev.o(.text+0x6e1a): undefined reference to `vg'
drivers/md/mddev.o(.text+0x702e): undefined reference to `lvm_memory'
drivers/md/mddev.o(.text+0x71a1): undefined reference to `vg'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.18'
make: *** [stamp-build] Error 2"



So, right now i'm trying the same thing with only 
	linux-2.4.18-VFS-lock.patch
applied. 




JonB




More information about the linux-lvm mailing list