<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Re: [Lustre-discuss] Liblustreapi crash</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Just to be clear. The rquota code worked fine (but didn't do group quotas). My changes to the code caused the problems.<BR>
<BR>
Suvendra<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: lustre-discuss-bounces@lists.lustre.org<BR>
To: Andreas Dilger<BR>
CC: Tian ZhiYong; lustre-discuss@lists.lustre.org<BR>
Sent: Thu Aug 21 07:25:18 2008<BR>
Subject: Re: [Lustre-discuss] Liblustreapi crash<BR>
<BR>
My first post was code based on Jim Garlick's rquota code. That is what<BR>
crashed the MDS.<BR>
<BR>
Suvendra.<BR>
<BR>
<BR>
On 8/21/08 5:12 AM, &quot;Andreas Dilger&quot; &lt;adilger@sun.com&gt; wrote:<BR>
<BR>
&gt; On Aug 19, 2008&nbsp; 10:36 -0400, Suvendra Nath Dutta wrote:<BR>
&gt;&gt; Since this got no response, I wanted to add that fundamentally we just want<BR>
&gt;&gt; to get group quota limits. So right now we are reduced to calling lfs quota<BR>
&gt;&gt; -g group and then parsing the output of that call to something sensible and<BR>
&gt;&gt; printing to screen. Is this the expected protocol? Any thought on how to<BR>
&gt;&gt; make this work seamlessly through linux quota?<BR>
&gt;<BR>
&gt; The problem with the linux quota tools (and the API in general) is that<BR>
&gt; it requires a block device to work on, which just doesn't exist for a<BR>
&gt; network filesystem.<BR>
&gt;<BR>
&gt; I know that both LLNL and NERSC have modified quota tools that work for<BR>
&gt; both Lustre and other filesystems, using the llapi_quotactl() function<BR>
&gt; instead of calling the quotactl() syscall for Lustre filesystems.<BR>
&gt;<BR>
&gt; Cheers, Andreas<BR>
&gt; --<BR>
&gt; Andreas Dilger<BR>
&gt; Sr. Staff Engineer, Lustre Group<BR>
&gt; Sun Microsystems of Canada, Inc.<BR>
&gt;<BR>
<BR>
_______________________________________________<BR>
Lustre-discuss mailing list<BR>
Lustre-discuss@lists.lustre.org<BR>
<A HREF="http://lists.lustre.org/mailman/listinfo/lustre-discuss">http://lists.lustre.org/mailman/listinfo/lustre-discuss</A><BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>