<body bgcolor="" style=""><p style="font-family: 'Times New Roman'; font-size: medium;">Hi</p>
<p style="font-family: 'Times New Roman'; font-size: medium;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;I have installed GlusterFS-3.2 with two servers and two bricks.&nbsp;</p>
<p style="font-family: 'Times New Roman'; font-size: medium;">I am &nbsp;able to mount it on a client node also.&nbsp;</p>
<p style="font-family: 'Times New Roman'; font-size: medium;">I need to enable quota on the directories of glusterfs.</p>
<p style="font-family: 'Times New Roman'; font-size: medium;">&nbsp;</p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong># gluster volume info</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Volume Name: crlgfs1</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Type: Distribute</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Status: Started</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Number of Bricks: 2</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Transport-type: rdma</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Bricks:</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Brick1: glus01-ib:/data/gluster/brick-1</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Brick2: glus02-ib:/data/gluster/brick-2</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>Options Reconfigured:</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>diagnostics.latency-measurement: on</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>diagnostics.count-fop-hits: on</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>features.quota: on</strong></p>
<p style="font-family: 'Times New Roman'; font-size: medium;"><strong>features.limit-usage: /data/gluster/brick-2/dheeraj:10MB,/data/gluster/brick-1/dheeraj:10MB</strong></p>
<div style="font-family: 'Times New Roman'; font-size: medium;">&nbsp;</div>
<div style="font-family: 'Times New Roman'; font-size: medium;">Please check the above command to check the configuration.</div>
<div style="font-family: 'Times New Roman'; font-size: medium;">When I give the below given command from the glusterfs server, it will me the following output.</div>
<div style="font-family: 'Times New Roman'; font-size: medium;"><strong>&nbsp;</strong></div>
<div style="font-family: 'Times New Roman'; font-size: medium;"><strong># gluster volume quota crlgfs1 list /data/gluster/brick-1/dheeraj</strong></div>
<div style="font-family: 'Times New Roman'; font-size: medium;"><strong>path&nbsp;limit_set&nbsp; &nbsp; size</strong></div>
<div style="font-family: 'Times New Roman'; font-size: medium;"><strong>----------------------------------------------------------------------------------</strong></div>
<div style="font-family: 'Times New Roman'; font-size: medium;"><strong>/data/gluster/brick-1/dheeraj &nbsp; &nbsp; &nbsp; 10MB</strong></div>
<div style="font-family: 'Times New Roman'; font-size: medium;">I have created quota from one glusterfs server only</div>
<div style="font-family: 'Times New Roman'; font-size: medium;">The result is that I m able to create files of size more than 10 MB . Even 8 GB file I created even though the quota is for 10 MB.</div>
<div style="font-family: 'Times New Roman'; font-size: medium;">Please put some light on it. Any help is much appreciated.&nbsp;</div>
<p style="font-family: 'Times New Roman'; font-size: medium;">Thanks &amp; Regards</p>
<p style="font-family: 'Times New Roman'; font-size: medium;">Dheeraj K V&nbsp;</p></body>