Hi John,<br>We haven't yet implemented any user/group quota's in glusterfs. But we have a 'features/quota' translator, which implements a high level disk-usage limit on export directory.<br><br>The codebase you saw was for 'errno' compatibility inbetween different OSes. <br>
<br>The user/group level quotas will be implemented in the future.<br><br>Regards,<br>Amar<br><br><div class="gmail_quote">2009/2/3 John Lepikhin <span dir="ltr"><<a href="mailto:john@ispsystem.com">john@ispsystem.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I added quotas on parent FS, but didn't get any effect. User can create<br>
files of any size inside GlusterFS. I checked code and found:<br>
<br>
./libglusterfs/src/compat-errno.c:<br>
gf_error_to_errno_array[GF_ERROR_CODE_DQUOT] = EDQUOT;<br>
<br>
./libglusterfs/src/compat-errno.c: gf_errno_to_error_array[EDQUOT] =<br>
GF_ERROR_CODE_DQUOT;<br>
<br>
(and nothing else)<br>
<br>
Do you have any plans on catching EDQUOT errors from native FS?<br>
<br>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Amar Tumballi<br>Gluster/GlusterFS Hacker<br>[bulde on #gluster/<a href="http://irc.gnu.org">irc.gnu.org</a>]<br><a href="http://www.zresearch.com">http://www.zresearch.com</a> - Commoditizing Super Storage!<br>