xfs
[Top] [All Lists]

Re: Unable to get XFS, ext3, reiserfs & LVM to coexist happily

To: Eric Sandeen <sandeen@xxxxxxx>, Steve Lord <lord@xxxxxxx>
Subject: Re: Unable to get XFS, ext3, reiserfs & LVM to coexist happily
From: Adrian Head <ahead@xxxxxxxxxxxxxx>
Date: Fri, 4 Jan 2002 15:38:12 +1000
Cc: Linux XFS <linux-xfs@xxxxxxxxxxx>
In-reply-to: <Pine.LNX.4.33.0201032301170.9036-100000@chuckle.americas.sgi.com>
References: <Pine.LNX.4.33.0201032301170.9036-100000@chuckle.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry - I thought I had :-(

The patches for lvm come in the lvm tar.gz on the LVM site.

lvm_1.0.1.tar.gz

extract it out and you will have a path lke:

LVM/1.0.1

Then there will be a directory "PATCHES"

In the directory PATCHES run make clean && make and it will autogenerate a 
lvm-1.0.1 upgrade patch for you.  Note however, that on my system it calls 
the patch lvm-1.0.1-2.4.16-xfs.patch although it looks in the 2.4.17-xfs 
directory.  Another thing to be aware of is that the autogen patch requires 
the kernel tree to reside in /usr/src/linux   - link as necessary.

The other patch is the VFS-lock patch which is also in the PATCHES directory 
and is named linux-2.4.11-VFS-lock.patch.  It will apply cleanly; however, 
there will be offsets.

Remember that the order of patches is:
lvm-1.0.1 upgrade; then the
VFS-lock

If your not using a distro that has the lvm tools already in the "LVM/1.0.1" 
directory 
./configure
make
make install

and that should compile and install the lvm tools.  One gotcha that I found 
is that it you have alternative CFLAGS as a global variable in your profile 
there will be problems with either compiling the tools or running the tools 
later.  Apparently gcc has a complie bug that causes problems if you don't 
use the default compile flags that are in the Makefile.

If you guy's want my .config from the kernel tree just tell me.  At the 
moment I have ext2 & ext3 compiled into the kernel as well as md and lvm.  
Everything else is modules.

What I was going to do was remove ext3 from my kernel and rerun the tests - 
this I hope will shed some more light on the problem.

I am still having problems with multiple background cp processes on an XFS 
volume killing the machine.  Do you need more information about this problem?

On Fri, 4 Jan 2002 15:01, Eric Sandeen wrote:
> Hi Adrian - thanks for the very complete summary!
>
> One more... where did the 2 lvm patches come from?  I didn't see them on
> the lvm ftp or cvs... maybe I'm just dense. :)

Your not dense - I wish that I had the skills to be able to dbug this stuff 
like you or Steve.

I hope your Christmas was Merry and your New Years Happy and your break 
relaxing.

>
> -Eric

- -- 
Adrian Head

(Public Key available on request.)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8NT/I8ZJI8OvSkAcRAjr6AJsH6uwQwZarr0s759l4RuOOOL0PUwCghF5e
/u+WfoXptNlkKrSkRXioRAI=
=nrop
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>