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
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
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 wante
I am trying to figure out an easy way (without turning on quota) the usage
of a Lustre file system. I was going to modify lfs find to print out the
size as well as the name and just run a lfs /mount find --user
--print and get it to write out file sizes.
Is this the right track to go on? Or has s
with it
being for ever without quota. If there is a way around this, that would be
ideal!
Thanks.
Suvendra.
On 4/6/09 1:46 AM, "Andreas Dilger" wrote:
> On Apr 05, 2009 23:08 -0400, Suvendra Nath Dutta wrote:
>> I am trying to figure out an easy way (without turning on quota