<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Leonardo,<br>
    <br>
    Currently we don't have any method to import any back-end FS's
    quotas into gluster.<br>
    <br>
    <div class="moz-cite-prefix">On Saturday 02 March 2013 03:26 AM,
      Leonardo Boiko wrote:<br>
    </div>
    <blockquote
cite="mid:CAJ6uix7Vx+5KXFy7YFAQpcs2_1BC9fzO6CDHNaXw6XhHmv97ew@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

I'd like to try to migrate our NFS-based network to gluster, for replication.

We currently use an ext4 filesystem with quota enabled.  We have a
couple thousand users (over LDAP), and their quotas vary wildly.  We
manage them with edquota(8) on the NFS server.  There are many
services which mount the NFS filesystem, and parse the output of
/usr/bin/quota (a webmail, two mail servers, various webpages, etc.)

I read the chapter on quotas in the admin guide, but I kind of don't
understand yet how does Gluster directory quota relate to the usual
quota stuff. Questions:

 - Is there any way to make Gluster use the ext4 disk quotas, or at
least import them? </pre>
    </blockquote>
    No, its not possible (at least) as of now. By the way using ext4
    back-end and creating gluster volumes on existing data node is not <b>*</b>recommended<b>*.
    </b><br>
    <blockquote
cite="mid:CAJ6uix7Vx+5KXFy7YFAQpcs2_1BC9fzO6CDHNaXw6XhHmv97ew@mail.gmail.com"
      type="cite"> - I don't think edquota will work anymore? </blockquote>
    Gluster quota doesn't impair back-end FS quota behaviour, but
    gluster knows nothing about that, so you can't have a volume wide
    quota implementation.<br>
    <blockquote
cite="mid:CAJ6uix7Vx+5KXFy7YFAQpcs2_1BC9fzO6CDHNaXw6XhHmv97ew@mail.gmail.com"
      type="cite"> - If I mount a gluster filesystem with
      type=glusterfs, will /usr/bin/quota be able to read quotas from
      it?</blockquote>
    No, only way to manage gluster quota is from glusterd (gluster
    management daemon) commands.
    <blockquote
cite="mid:CAJ6uix7Vx+5KXFy7YFAQpcs2_1BC9fzO6CDHNaXw6XhHmv97ew@mail.gmail.com"
      type="cite">
      <pre wrap=""> - If not, can I otherwise read my quotas from the client?

 - If I mount a gluster filesystem using NFS, can the client read
quotas with /usr/bin/quota as usual?</pre>
    </blockquote>
    No.<br>
    <blockquote
cite="mid:CAJ6uix7Vx+5KXFy7YFAQpcs2_1BC9fzO6CDHNaXw6XhHmv97ew@mail.gmail.com"
      type="cite">
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://supercolony.gluster.org/mailman/listinfo/gluster-users">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a>
</pre>
    </blockquote>
    <blockquote
cite="mid:CAJ6uix7Vx+5KXFy7YFAQpcs2_1BC9fzO6CDHNaXw6XhHmv97ew@mail.gmail.com"
      type="cite"> </blockquote>
    Varun<br>
  </body>
</html>