On Mon, Aug 18, 2008 at 04:02:26PM -0400, Suvendra Nath Dutta wrote:
> uid = pw->pw_uid;
> gid = pw->pw_gid;
> sprintf(szpath, "/n/circelfs");
> memset(&qctl, 0, sizeof(qctl));
> qctl.qc_cmd = LUSTRE_Q_GETQUOTA;
> qctl.qc_id = gid;
> qctl.qc_type = UGQUOTA;
In this case
t: Re: [Lustre-discuss] Liblustreapi crash
My first post was code based on Jim Garlick's rquota code. That is what
crashed the MDS.
Suvendra.
On 8/21/08 5:12 AM, "Andreas Dilger" <[EMAIL PROTECTED]> wrote:
> On Aug 19, 2008 10:36 -0400, Suvendra Nath Dutta wrote:
>
My first post was code based on Jim Garlick's rquota code. That is what
crashed the MDS.
Suvendra.
On 8/21/08 5:12 AM, "Andreas Dilger" <[EMAIL PROTECTED]> wrote:
> On Aug 19, 2008 10:36 -0400, Suvendra Nath Dutta wrote:
>> Since this got no response, I wanted to add that fundamentally we just
On Aug 19, 2008 10:36 -0400, Suvendra Nath Dutta wrote:
> Since this got no response, I wanted to add that fundamentally we just want
> to get group quota limits. So right now we are reduced to calling lfs quota
> -g group and then parsing the output of that call to something sensible and
> printi
Since this got no response, I wanted to add that fundamentally we just want
to get group quota limits. So right now we are reduced to calling lfs quota
-g group and then parsing the output of that call to something sensible and
printing to screen. Is this the expected protocol? Any thought on how t
I am trying to run the Code:
#include
#include
#include
#include
#include
#include
#include
int main(int argc, char *argv[])
{
struct if_quotactl qctl;
char szpath[FILENAME_MAX];
struct passwd *pw;
uid_t uid;
gid_t gid;
int rc;
pw = getpwuid(geteuid());
if