[Gluster-devel] gluster 'quota' implementation
Marian Marinov
mm at yuhu.biz
Mon Mar 1 15:36:39 UTC 2010
Hello,
today we had a conversation with one of the users at #gluster and I mentioned
a way of implementing quota without actually implementing quota :)
The idea is simple, we can use the quota support of the underlying FS and
replicate it to the whole cluster using a predefined dir in the glusterfs
cluster.
What I'm proposing is:
1. create a dir within glusterfs, for example .quota
2. every machine will export its results from repquota or at least the code
behind repquota and save the output to a file which will be named after the
hostname of the machine.
3. Wait 1 min after step 2 and read all files from .quota
4. Save or update all the information from step 3 in the memory
5. Use the stored into memory information to enforce quota
My question is, are you interested in a translator that does this? If you are,
I'm interested in writing it :)
--
Best regards,
Marian Marinov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20100301/f3eb777f/attachment-0003.sig>
More information about the Gluster-devel
mailing list