<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <tt>Hi,</tt><br>
    <div class="moz-cite-prefix">On Monday 07 April 2014 08:10 PM, Barry
      Stetler wrote:<br>
    </div>
    <blockquote cite="mid:5342B8D3.3020506@hivelocity.net" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix"><font face="Lucida Grande">Gluster
          Server<br>
          <br>
          [root@gluster1 ~]# gluster --version<br>
          glusterfs 3.4.2 built on Jan&nbsp; 3 2014 12:38:06<br>
          Repository revision: git://git.gluster.com/glusterfs.git<br>
          Copyright (c) 2006-2011 Gluster Inc. <a
            moz-do-not-send="true" class="moz-txt-link-rfc2396E"
            href="http://www.gluster.com">&lt;http://www.gluster.com&gt;</a><br>
          GlusterFS comes with ABSOLUTELY NO WARRANTY.<br>
          You may redistribute copies of GlusterFS under the terms of
          the GNU General Public License.<br>
          [root@gluster1 ~]#<br>
          <br>
          <br>
          [root@gluster1 ~]# getfattr -d -m . -e hex
          /export/cluster1/gbilletz_9774/<br>
          getfattr: Removing leading '/' from absolute path names<br>
          # file: export/cluster1/gbilletz_9774/<br>
          trusted.gfid=0xfd31ccda2e0447abbf9adf9fe25b9d2e<br>
          trusted.glusterfs.dht=0x00000001000000007fffffffffffffff<br>
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x0000000c0aafb400<br>
          trusted.glusterfs.quota.dirty=0x3000<br>
          trusted.glusterfs.quota.size=0x0000000c0aafb400<br>
        </font></div>
    </blockquote>
    <tt>There can be bug/problem in two cases<br>
      i. Accounting :- ie aggregated value of
      trusted.glusterfs.quota.size from all the bricks (in above case of
      take one of the bricks from replica pair)</tt><tt> should match
      the du of the directory.<br>
      ii. Reading the values from trusted.glusterfs.quota.size.<br>
      <br>
      My intention was to check whether we have problem in level (i). I
      have only one brick's information here, so can you please check
      and where the problem among the above two cases?<br>
      <br>
      - Varun Shastry<br>
    </tt>
    <blockquote cite="mid:5342B8D3.3020506@hivelocity.net" type="cite">
      <div class="moz-cite-prefix"><font face="Lucida Grande"> <br>
          Server space is mounted on<br>
          <br>
          [root@glusterfront1 dump]# gluster --version<br>
          glusterfs 3.4.2 built on Jan&nbsp; 3 2014 12:38:06<br>
          Repository revision: git://git.gluster.com/glusterfs.git<br>
          Copyright (c) 2006-2011 Gluster Inc. <a
            moz-do-not-send="true" class="moz-txt-link-rfc2396E"
            href="http://www.gluster.com">&lt;http://www.gluster.com&gt;</a><br>
          GlusterFS comes with ABSOLUTELY NO WARRANTY.<br>
          You may redistribute copies of GlusterFS under the terms of
          the GNU General Public License.<br>
          <br>
          Logs pretty much say quota exceeded.. On the side its mounted
          on I have not seen anything in logs pertaining to the issue on
          the gluster side.. I had to disbale it for the client but I
          will try to recreate the issue on another user...<br>
          <br>
          &nbsp;Actual Usage <br>
          [root@glusterfront1 gjhgjhg_9774]# du -sh<br>
          85G&nbsp;&nbsp;&nbsp; .<br>
          <br>
          Gluster Usage<br>
          <br>
          [root@gluster1 ~]# gluster volume quota home list /</font><font
          face="Lucida Grande"><font face="Lucida Grande">gjhgjhg</font>_9774<br>
          &nbsp;&nbsp;&nbsp; path&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; limit_set&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; size<br>
----------------------------------------------------------------------------------<br>
          /</font><font face="Lucida Grande"><font face="Lucida Grande">gjhgjhg</font>_9774&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

          200GB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 116.9GB<br>
          <br>
        </font>
        <div class="moz-signature">
          <link rel="stylesheet" type="text/css"
            href="http://static-uploads.hivelocity.net/signature/sig-style.css">
          <div class="sig-text">
            <table>
              <tbody>
                <tr>
                  <td rowspan="3"><img
                      src="cid:part3.03080100.08040509@redhat.com"></td>
                  <td>Barry Stetler</td>
                </tr>
                <tr>
                  <td>HIVELOCITY | Devops and Operations Leader</td>
                </tr>
                <tr>
                  <td>888-869-4678 ext. 224 | <a moz-do-not-send="true"
                      href="http://hivelocity.net">Hivelocity.net</a></td>
                </tr>
              </tbody>
            </table>
          </div>
          <br>
          <br>
          <br>
        </div>
        On 4/7/14, 9:40 AM, Varun Shastry wrote:<br>
      </div>
      <blockquote cite="mid:5342AAEA.8070204@redhat.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <tt>Can you please provide these info?<br>
          <br>
          - gluster --version<br>
          - getfattr -d -m . -e hex
          &lt;quota-limit-directories-in-the-backend&gt;<br>
          - logs<br>
          <br>
          Thanks<br>
          Varun Shastry<br>
          <br>
        </tt>
        <div class="moz-cite-prefix">On Monday 07 April 2014 06:23 PM,
          Barry Stetler wrote:<br>
        </div>
        <blockquote cite="mid:53429FD8.8060202@hivelocity.net"
          type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <font face="Lucida Grande">I am having an issue with Gluster
            quotas. User is set to to 200GB and he is using about 57 GB
            on mounted file </font>system, Gluster says he is using 180
          GB,<br>
          <br>
          gluster volume quota home list /user<br>
          <br>
          shows he is using 180 GB<br>
          <br>
          Is this a bug is this looking at the replicas?<br>
          <br>
          Here is the volume info<br>
          <br>
          Volume Name: home<br>
          Type: Distributed-Replicate<br>
          Volume ID: 9e0ffc91-9d46-477a-b8eb-dfd3b7d65765<br>
          Status: Started<br>
          Number of Bricks: 2 x 2 = 4<br>
          Transport-type: tcp<br>
          Bricks:<br>
          Brick1: gluster1:/export/cluster1<br>
          Brick2: gluster2:/export/cluster1<br>
          Brick3: gluster3:/export/cluster1<br>
          Brick4: gluster4:/export/cluster1<br>
          Options Reconfigured:<br>
          <br>
          <br>
          <div class="moz-signature">-- <br>
            <link rel="stylesheet" type="text/css"
              href="http://static-uploads.hivelocity.net/signature/sig-style.css">
            <div class="sig-text">
              <table>
                <tbody>
                  <tr>
                    <td rowspan="3"><img
                        src="cid:part5.09000208.01010303@redhat.com"></td>
                    <td>Barry Stetler</td>
                  </tr>
                  <tr>
                    <td>HIVELOCITY | Devops and Operations Leader</td>
                  </tr>
                  <tr>
                    <td>888-869-4678 ext. 224 | <a
                        moz-do-not-send="true"
                        href="http://hivelocity.net">Hivelocity.net</a></td>
                  </tr>
                </tbody>
              </table>
            </div>
            <br>
            <br>
            <br>
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Gluster-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a moz-do-not-send="true" 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>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>