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.
The codebase you saw was for 'errno' compatibility inbetween different OSes.
The user/group level quotas will be implemented in the future.
Regards,
Amar
2009/2/3 John Lepikhin <john@xxxxxxxxxxxxx>
Hello,
I added quotas on parent FS, but didn't get any effect. User can create
files of any size inside GlusterFS. I checked code and found:
./libglusterfs/src/compat-errno.c:
gf_error_to_errno_array[GF_ERROR_CODE_DQUOT] = EDQUOT;
./libglusterfs/src/compat-errno.c: gf_errno_to_error_array[EDQUOT] =
GF_ERROR_CODE_DQUOT;
(and nothing else)
Do you have any plans on catching EDQUOT errors from native FS?
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxx
http://lists.nongnu.org/mailman/listinfo/gluster-devel
--
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!