[Linux-cluster] Quota reporting (for users)

Abhijith Das adas at redhat.com
Mon May 18 22:58:16 UTC 2009


Ray Van Dolson wrote:
> On Mon, May 18, 2009 at 03:44:27PM -0700, Abhijith Das wrote:
>   
>> Ray Van Dolson wrote:
>>     
>>> Hello all;
>>>
>>> Planning to export a GFS2 filesystem via NFS and am using quotas.
>>> Everything works fine (users are notified when they exceed quota).
>>>
>>> Is there a good way to allow users to query what their quota is and how
>>> much they're using of it?  Something like "quota -s" with the standard
>>> quota tools.
>>>
>>> I can think of a couple kludgy ways to do this... caching output to a
>>> file readable by the user, or a daemon that answers questions regarding
>>> quotas from a user initiated command...
>>>
>>> Maybe there's a better way I just don't know about?
>>>
>>> Thanks in advance,
>>> Ray
>>>   
>>>       
>> Ray,
>>
>> We've been looking at adding support in gfs2 to interact with the
>> generic quota tools. This would also mean being able to use rpc.rquotad
>> to access nfs quotas. This is the bugzilla that tracks this feature:
>> https://bugzilla.redhat.com/show_bug.cgi?id=298561.
>>     
>
> Anything top secret in this bug or could you guys make it public?
Errr... Actually yes. Didn't realise this was a internal bug. In any
case, the problem statement in the bug is exactly what you mentioned in
your email above.

Recently changes went into vfs quotas to support ocfs2 quotas. If they
can do it through the vfs and use the generic quota tools, we could as
well. We're investigating how best to integrate our existing quota
mechanism with the vfs.

Cheers!
--Abhi




More information about the Linux-cluster mailing list