<!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.16.3">
</HEAD>
<BODY>
Excellent, thanks Bob!  It is a RHEL AS 4.5 cluster running on AMD64 Opteron.<BR>
I have opened up bugzilla #<A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=435469">435469</A><BR>
<BR>
<BR>
On Thu, 2008-02-28 at 21:03 -0600, Bob Peterson wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
<FONT COLOR="#000000">On Thu, 2008-02-28 at 10:28 -0500, <A HREF="mailto:rhurst@bidmc.harvard.edu">rhurst@bidmc.harvard.edu</A> wrote:</FONT>
<FONT COLOR="#000000">> ioctl(3, 0x472d, 0x7fbfffe300)          = -1 ENOMEM (Cannot allocate </FONT>

<FONT COLOR="#000000">Hi Robert,</FONT>

<FONT COLOR="#000000">The gfs_tool does most of its work using ioctl calls to the gfs kernel</FONT>
<FONT COLOR="#000000">module.  Often, it tries to allocate and pass in a huge buffer to make</FONT>
<FONT COLOR="#000000">sure it doesn't ask for more than the kernel needs to respond with.</FONT>

<FONT COLOR="#000000">In some cases, it doesn't need to allocate such a big buffer.</FONT>
<FONT COLOR="#000000">I fixed "gfs_tool counters" for a similar ENOMEM problem with</FONT>
<FONT COLOR="#000000">bugzilla record 229461 about a year ago.  (I don't know if that bug</FONT>
<FONT COLOR="#000000">record is public or locked so you may not be able to access it, which</FONT>
<FONT COLOR="#000000">is out of my control--sorry).</FONT>

<FONT COLOR="#000000">I should probably go through all the other gfs_tool functions, including</FONT>
<FONT COLOR="#000000">the two you mentioned, and figure out their minimum memory requirements</FONT>
<FONT COLOR="#000000">and change the code so it doesn't ask for so much memory.</FONT>

<FONT COLOR="#000000">Perhaps you can open up a bugzilla record so I can schedule this work?</FONT>
<FONT COLOR="#000000">Also, you didn't say whether you're on RHEL4/Centos4/similar, or</FONT>
<FONT COLOR="#000000">RHEL5/Centos5/similar.</FONT>

<FONT COLOR="#000000">Regards,</FONT>

<FONT COLOR="#000000">Bob Peterson</FONT>
<FONT COLOR="#000000">Red Hat GFS</FONT>


<FONT COLOR="#000000">--</FONT>
<FONT COLOR="#000000">Linux-cluster mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</A></FONT>
<FONT COLOR="#000000"><A HREF="https://www.redhat.com/mailman/listinfo/linux-cluster">https://www.redhat.com/mailman/listinfo/linux-cluster</A></FONT>

</PRE>
</BLOCKQUOTE>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
<BR>
<B><FONT SIZE="1"><FONT COLOR="#000066">Robert Hurst, Sr. Caché Administrator</FONT></FONT></B><BR>
<B><FONT SIZE="1"><FONT COLOR="#3333ff">Beth Israel Deaconess Medical Center</FONT></FONT></B><BR>
<B><FONT SIZE="1"><FONT COLOR="#6666ff">1135 Tremont Street, REN-7</FONT></FONT></B><BR>
<B><FONT SIZE="1"><FONT COLOR="#6666ff">Boston, Massachusetts   02120-2140</FONT></FONT></B><BR>
<B><FONT SIZE="1"><FONT COLOR="#6666ff">617-754-8754 ∙ Fax: 617-754-8730 ∙ Cell: 401-787-3154</FONT></FONT></B><BR>
<FONT SIZE="1"><FONT COLOR="#9999ff">Any technology distinguishable from magic is insufficiently advanced.</FONT></FONT>
</TD>
</TR>
</TABLE>
<BR>
<BR>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>