<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Junaid,<br><br>I deleted the bakend and the volume and created a new volume with a new backend. I ran a ls -lRa but quota still display wrong values.<br><br>Volume Name: venus<br>Type: Distributed-Replicate<br>Status: Started<br>Number of Bricks: 2 x 2 = 4<br>Transport-type: tcp<br>Bricks:<br>Brick1: ylal3020:/soft/export<br>Brick2: ylal3030:/soft/export<br>Brick3: yval1000:/soft/export<br>Brick4: yval1010:/soft/export<br>Options Reconfigured:<br>nfs.port: 2049<br>network.ping-timeout: 10<br>performance.cache-refresh-timeout: 10<br>performance.cache-size: 512MB<br>features.quota: on<br>features.limit-usage: /psa:200MB,/soft:5GB,/test:100MB,/:7GB<br><br><br># gluster volume quota venus list<br>&nbsp;&nbsp;&nbsp; path&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; limit_set&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; size<br>----------------------------------------------------------------------------------<br>/psa&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 200MB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.0MB<br>/soft&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5GB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 209.4MB<br>/test&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 100MB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4.0MB<br>/&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7GB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 215.4MB<br><br><br>&nbsp;ylal3020<br>&nbsp;# getfattr -n trusted.glusterfs.quota.size -e hex /soft/export ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/export/test ; getfattr -n trusted.glusterfs.quota.size -e hex /soft/export/psa;getfattr -n trusted.glusterfs.quota.size -e hex /soft/export/soft<br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export<br>trusted.glusterfs.quota.size=0x000000000d50fe00<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/test<br>trusted.glusterfs.quota.size=0x00000000001f8000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/psa<br>trusted.glusterfs.quota.size=0x00000000001b5000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/soft<br>trusted.glusterfs.quota.size=0x000000000d162e00<br>---<br><br>ylal3030 # <br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export<br>trusted.glusterfs.quota.size=0x000000000d50fe00<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/test<br>trusted.glusterfs.quota.size=0x00000000001f8000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/psa<br>trusted.glusterfs.quota.size=0x00000000001b5000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/soft<br>trusted.glusterfs.quota.size=0x000000000d162e00<br>----<br><br>yval1000# <br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export<br>trusted.glusterfs.quota.size=0x0000000000263000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/test<br>trusted.glusterfs.quota.size=0x0000000000210000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/psa<br>trusted.glusterfs.quota.size=0x0000000000053000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/soft<br>trusted.glusterfs.quota.size=0x0000000000000000<br><br>-----<br>yval1010 #<br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export<br>trusted.glusterfs.quota.size=0x0000000000263000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/test<br>trusted.glusterfs.quota.size=0x0000000000210000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/psa<br>trusted.glusterfs.quota.size=0x0000000000053000<br><br>getfattr: Removing leading '/' from absolute path names<br># file: soft/export/soft<br>trusted.glusterfs.quota.size=0x0000000000000000<br><br><br><br><br><div><hr id="stopSpelling">From: sokar6012@hotmail.com<br>To: junaid@gluster.com<br>CC: gluster-users@gluster.org<br>Subject: RE: Quota calculation<br>Date: Tue, 6 Sep 2011 07:27:56 +0000<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>

<div dir="ltr">
Hi Junaid,<br><br>Sorry I was not able to reach you on IRC, I just see your email this morning because of the time difference.<br>I'll try to delete the volume and the backend and start from scratch. I'll keep you in touch.<br><br>Anthony<br><div><hr id="ecxstopSpelling"></div>                                               </div></div>                                               </div></body>
</html>