<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">The heartbleed bug put me back a couple
days but here are the results of running the command on all 4
gluster nodes. I did a du -sh on the two servers that have gluster
mounted.<br>
<br>
[root@glusterfront1 gbilletz_9774]# du -sh<br>
76G .<br>
<br>
[root@glusterfront2 gbilletz_9774]# du -sh<br>
76G .<br>
<br>
root@gluster1 ~]# gluster volume quota home list /gbilletz_9774<br>
path limit_set size<br>
----------------------------------------------------------------------------------<br>
/gbilletz_9774 500GB 91.7GB<br>
[root@gluster1 ~]# gluster --version<br>
glusterfs 3.4.2 built on Jan 3 2014 12:38:06<br>
Repository revision: git://git.gluster.com/glusterfs.git<br>
Copyright (c) 2006-2011 Gluster Inc.
<a class="moz-txt-link-rfc2396E" href="http://www.gluster.com"><http://www.gluster.com></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 ~]# 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=0x0000000c7e202600<br>
trusted.glusterfs.quota.dirty=0x3000<br>
trusted.glusterfs.quota.size=0x0000000c7e202600<br>
<br>
<br>
[root@gluster2 ~]# gluster volume quota home list /gbilletz_9774<br>
path limit_set size<br>
----------------------------------------------------------------------------------<br>
/gbilletz_9774 500GB 91.7GB<br>
[root@gluster2 ~]# gluster --version<br>
glusterfs 3.4.2 built on Jan 3 2014 12:38:06<br>
Repository revision: git://git.gluster.com/glusterfs.git<br>
Copyright (c) 2006-2011 Gluster Inc.
<a class="moz-txt-link-rfc2396E" href="http://www.gluster.com"><http://www.gluster.com></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@gluster2 ~]# 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=0x0000000c7c520200<br>
trusted.glusterfs.quota.dirty=0x3000<br>
trusted.glusterfs.quota.size=0x0000000c7c520200<br>
<br>
[root@gluster3 ~]# gluster volume quota home list /gbilletz_9774<br>
path limit_set size<br>
----------------------------------------------------------------------------------<br>
/gbilletz_9774 500GB 91.7GB<br>
[root@gluster3 ~]# gluster --version<br>
glusterfs 3.4.2 built on Jan 3 2014 12:38:06<br>
Repository revision: git://git.gluster.com/glusterfs.git<br>
Copyright (c) 2006-2011 Gluster Inc.
<a class="moz-txt-link-rfc2396E" href="http://www.gluster.com"><http://www.gluster.com></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@gluster3 ~]# 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.afr.home-client-2=0x000000000000000000000000<br>
trusted.afr.home-client-3=0x000000000000000000000000<br>
trusted.gfid=0xfd31ccda2e0447abbf9adf9fe25b9d2e<br>
trusted.glusterfs.dht=0x0000000100000000000000007ffffffe<br>
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x0000000a6ff6b400<br>
trusted.glusterfs.quota.dirty=0x3000<br>
trusted.glusterfs.quota.size=0x0000000a6ff6b400<br>
<br>
[root@gluster4 ~]# gluster volume quota home list /gbilletz_9774<br>
path limit_set size<br>
----------------------------------------------------------------------------------<br>
/gbilletz_9774 500GB 91.5GB<br>
[root@gluster4 ~]# gluster --version<br>
glusterfs 3.4.2 built on Jan 3 2014 12:38:06<br>
Repository revision: git://git.gluster.com/glusterfs.git<br>
Copyright (c) 2006-2011 Gluster Inc.
<a class="moz-txt-link-rfc2396E" href="http://www.gluster.com"><http://www.gluster.com></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@gluster4 ~]# 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.afr.home-client-2=0x000000000000000000000000<br>
trusted.afr.home-client-3=0x000000000000000000000000<br>
trusted.gfid=0xfd31ccda2e0447abbf9adf9fe25b9d2e<br>
trusted.glusterfs.dht=0x0000000100000000000000007ffffffe<br>
trusted.glusterfs.quota.00000000-0000-0000-0000-000000000001.contri=0x0000000a62c12e00<br>
trusted.glusterfs.quota.dirty=0x3000<br>
trusted.glusterfs.quota.size=0x0000000a62c12e00<br>
<br>
<br>
<br>
<br>
<br>
[root@gluster4 ~]# gluster volume status<br>
Status of volume: home<br>
Gluster process Port Online Pid<br>
------------------------------------------------------------------------------<br>
Brick gluster1:/export/cluster1 49152 Y 1453<br>
Brick gluster2:/export/cluster1 49152 Y 1134<br>
Brick gluster3:/export/cluster1 49152 Y 1317<br>
Brick gluster4:/export/cluster1 49152 Y 1220<br>
NFS Server on localhost 2049 Y 2875<br>
Self-heal Daemon on localhost N/A Y 1237<br>
NFS Server on gluster1 2049 Y 29311<br>
Self-heal Daemon on gluster1 N/A Y 1474<br>
NFS Server on gluster3 2049 Y 26328<br>
Self-heal Daemon on gluster3 N/A Y 1329<br>
NFS Server on gluster2 2049 Y 27141<br>
Self-heal Daemon on gluster2 N/A Y 1142<br>
<br>
<br>
<br>
<br>
<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:part1.00070407.05050104@hivelocity.net"></td>
<td>Barry Stetler</td>
</tr>
<tr>
<td>HIVELOCITY | Devops and Operations Leader</td>
</tr>
<tr>
<td>888-869-4678 ext. 224 | <a
href="http://hivelocity.net">Hivelocity.net</a></td>
</tr>
</tbody>
</table>
</div>
<br>
<br>
<br>
</div>
On 4/9/14, 9:25 AM, Barry Stetler wrote:<br>
</div>
<blockquote cite="mid:53454A66.2050807@hivelocity.net" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">I will check all bricks and resend
thank you...<br>
<br>
<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.09040108.07020102@hivelocity.net"></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/8/2014 6:08 AM, Varun Shastry wrote:<br>
</div>
<blockquote cite="mid:5343CABA.1020903@redhat.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<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 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"><http://www.gluster.com></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 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"><http://www.gluster.com></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>
Actual Usage <br>
[root@glusterfront1 gjhgjhg_9774]# du -sh<br>
85G .<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>
path limit_set size<br>
----------------------------------------------------------------------------------<br>
/</font><font face="Lucida Grande"><font face="Lucida
Grande">gjhgjhg</font>_9774
200GB 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:part7.08010302.04090309@hivelocity.net"></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
<quota-limit-directories-in-the-backend><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:part9.09030505.09050304@hivelocity.net"></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>
</blockquote>
<br>
<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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>
<br>
</body>
</html>