<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.12.0">
</HEAD>
<BODY>
On Thu, 2007-09-13 at 17:34 -0400, Ward, Timothy - SSD wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">From: Kevin Anderson <<A HREF="mailto:kanderso@redhat.com">kanderso@redhat.com</A>></FONT>

<FONT COLOR="#000000">On Thu, 2007-09-13 at 10:32 -0400, Ward, Timothy - SSD wrote:</FONT>
<FONT COLOR="#000000">> I am trying to setup nfs as a clustered service.  The filesystem nfs </FONT>
<FONT COLOR="#000000">> is serving is a GFS2 fs.  So I am trying to find out is the problem </FONT>
<FONT COLOR="#000000">> with GFS2, NFS, the SMP processors or something else?</FONT>
<FONT COLOR="#000000">> </FONT>
<FONT COLOR="#000000">We have fixed a number of bugs with GFS2 over the last few weeks, so</FONT>
<FONT COLOR="#000000">would point at GFS2 as being the issue.  Pick up the latest kernel from</FONT>
<FONT COLOR="#000000">Steve Whitehouses GIT tree.  It has a number of fixes, with a number of</FONT>
<FONT COLOR="#000000">additional ones queued up to be pushed shortly.</FONT>

<FONT COLOR="#000000">If you need a stable environment at this time, use GFS1 instead of gfs2.</FONT>

<FONT COLOR="#000000">Kevin</FONT>


<FONT COLOR="#000000">------------------------------</FONT>
<FONT COLOR="#000000">Kevin,</FONT>

<FONT COLOR="#000000">Thank you for the valuable insight!</FONT>

<FONT COLOR="#000000">I used the updated gfs2 RPM that was updated for FC6.  Would you suggest</FONT>
<FONT COLOR="#000000">using FC5 with  gfs1 or is there a gfs1 RPM someplace for FC6?  I tried</FONT>
<FONT COLOR="#000000">to compile the code myself with limited success.</FONT>

</PRE>
</BLOCKQUOTE>
We are working on getting gfs1 to work with FC7.  It is a bit complicated due to gfs1 needing access to the dlm harness code that is part of the gfs2 kernel module.  The symbols are not currently exported in the gfs2 code, so a patch needs to be generated.  The patch isn't something we believe would be accepted upstream since the symbols aren't used by any other in kernel module.   Here is the exports you need:<BR>
--- linux-2.6.17.noarch/fs/gfs2/locking.c~      2006-08-10 13:33:09.000000000 -0<BR>
400<BR>
+++ linux-2.6.17.noarch/fs/gfs2/locking.c       2006-08-10 13:33:23.000000000 -0<BR>
400<BR>
@@ -188,4 +188,6 @@ void __init gfs2_init_lmh(void)<BR>
 <BR>
 EXPORT_SYMBOL_GPL(gfs2_register_lockproto);<BR>
 EXPORT_SYMBOL_GPL(gfs2_unregister_lockproto);<BR>
-<BR>
+EXPORT_SYMBOL_GPL(gfs2_withdraw_lockproto);<BR>
+EXPORT_SYMBOL_GPL(gfs2_mount_lockproto);<BR>
+EXPORT_SYMBOL_GPL(gfs2_unmount_lockproto);<BR>
<BR>
<BR>
This is from our RHEL5 tree, so not sure it will apply directly, but you can see what gets added.  Am sure there are probably other issues with building against the FC6 environment, but this is a start.  <BR>
<BR>
We have been primarily focused on getting GFS2 stable, but one of the guys is going to spend sometime over the next couple of weeks working on getting FC7 rpms built for gfs.<BR>
<BR>
Kevin
</BODY>
</HTML>